Skip to content

Commit e3513f3

Browse files
Hans Verkuilmchehab
authored andcommitted
[media] ezkit/cobalt: drop unused op_656_range setting
The adv7604/adv7842 drivers now handle that register setting themselves and need no input from platform data anymore. This was a left-over from the time that the pixelport output format was decided by the platform data. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Cc: Scott Jiang <scott.jiang.linux@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
1 parent fd74246 commit e3513f3

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

‎arch/blackfin/mach-bf609/boards/ezkit.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1002,14 +1002,12 @@ static struct adv7842_output_format adv7842_opf[] = {
10021002
{
10031003
.op_ch_sel = ADV7842_OP_CH_SEL_BRG,
10041004
.op_format_sel = ADV7842_OP_FORMAT_SEL_SDR_ITU656_8,
1005-
.op_656_range = 1,
10061005
.blank_data = 1,
10071006
.insert_av_codes = 1,
10081007
},
10091008
{
10101009
.op_ch_sel = ADV7842_OP_CH_SEL_RGB,
10111010
.op_format_sel = ADV7842_OP_FORMAT_SEL_SDR_ITU656_16,
1012-
.op_656_range = 1,
10131011
.blank_data = 1,
10141012
},
10151013
};

‎drivers/media/pci/cobalt/cobalt-driver.c‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,6 @@ static int cobalt_subdevs_init(struct cobalt *cobalt)
492492
.ain_sel = ADV7604_AIN7_8_9_NC_SYNC_3_1,
493493
.bus_order = ADV7604_BUS_ORDER_BRG,
494494
.blank_data = 1,
495-
.op_656_range = 1,
496495
.op_format_mode_sel = ADV7604_OP_FORMAT_MODE0,
497496
.int1_config = ADV76XX_INT1_CONFIG_ACTIVE_HIGH,
498497
.dr_str_data = ADV76XX_DR_STR_HIGH,
@@ -571,7 +570,6 @@ static int cobalt_subdevs_hsma_init(struct cobalt *cobalt)
571570
.bus_order = ADV7842_BUS_ORDER_RBG,
572571
.op_format_mode_sel = ADV7842_OP_FORMAT_MODE0,
573572
.blank_data = 1,
574-
.op_656_range = 1,
575573
.dr_str_data = 3,
576574
.dr_str_clk = 3,
577575
.dr_str_sync = 3,

0 commit comments

Comments
 (0)