Set the CEC I2C address based on the slave I2C address.
authorLiviu Dudau <Liviu.Dudau@arm.com>
Wed, 13 Aug 2014 13:28:45 +0000 (14:28 +0100)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Wed, 13 Aug 2014 16:34:16 +0000 (17:34 +0100)
commitd657945d356fa68392f427f9ed01f6ecf4b0cbfe
treeeae518a43807daa3b3df21f68773f26f6c0f28db
parentae6f01eaa3e127ff39891ee13d591091ce6963d0
Set the CEC I2C address based on the slave I2C address.

The two LSBs of the TDA998x's I2C address are set by pins
on the chip. The associated CEC peripheral's I2C address
is set in the same way, so base the CEC address on that
of the slave's address.

Signed-off-by: Andrew Jackson <Andrew.Jackson@arm.com>
Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
drivers/gpu/drm/i2c/tda998x_drv.c