linux/drivers/media/i2c/adv748x
Kieran Bingham 71569850e3 media: i2c: adv748x: Add missing CBUS page
The ADV748x has 12 pages mapped onto I2C addresses.

In the existing implementation only 11 are mapped correctly in the page
enumerations, which causes an off-by-one fault on pages above the
infoframe definition due to a missing 'CBUS' page.

This causes the address for the CEC, SDP, TXA, and TXB to be incorrectly
programmed during the iterations in adv748x_initialise_clients().

Until now this has gone un-noticed due to the fact that following the
creation of the clients - the device is reset and the addresses are
reprogrammed in manually by the call to "adv748x_write_regs(state,
adv748x_set_slave_address);"

As part of moving to dynamic i2c address allocations repair this by
providing the missing CBUS page definition.

Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2018-03-21 12:07:02 -04:00
..
adv748x-afe.c media: i2c: adv748x: Store the pixel rate ctrl on CSI objects 2017-12-08 10:03:00 -05:00
adv748x-core.c media: i2c: adv748x: Add missing CBUS page 2018-03-21 12:07:02 -04:00
adv748x-csi2.c media: i2c: adv748x: Store the pixel rate ctrl on CSI objects 2017-12-08 10:03:00 -05:00
adv748x-hdmi.c media: i2c: adv748x: fix HDMI field heights 2018-02-26 08:16:59 -05:00
adv748x.h media: i2c: adv748x: Add missing CBUS page 2018-03-21 12:07:02 -04:00
Makefile