linux-stable/drivers/gpu/drm/i2c
Russell King 14e5b5889d drm/i2c: tda998x: allow sharing of the CEC device accesses
cec_read() is non-atomic in the presence of other I2C bus transactions
to the same device.  This presents a problem when we add support for
the TDA9950 CEC engine part - both drivers can be trying to access the
device.

Avoid the inherent problems by switching to i2c_transfer() instead,
which allows us to perform more than one bus transaction atomically.

As this means we will be using I2C transactions rather than SMBUS, we
have to check that the host supports I2C functionality.

Tested-by: Brian Starkey <brian.starkey@arm.com>
Reviewed-by: Brian Starkey <brian.starkey@arm.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
2016-11-18 00:00:40 +00:00
..
ch7006_drv.c drm/i2c/ch7006: Use helper to turn off CRTC 2016-06-24 08:49:37 +02:00
ch7006_mode.c drm/i2c/ch7006: Constify ch7006_tv_norms[] and ch7006_modes[] 2015-09-08 13:45:53 +02:00
ch7006_priv.h drm/i2c/ch7006: Constify ch7006_tv_norms[] and ch7006_modes[] 2015-09-08 13:45:53 +02:00
Kconfig Merge branch 'drm-tda998x-mali' into drm-tda998x-devel 2016-11-01 09:17:57 +00:00
Makefile drm/i2c: adv7511: Move to bridge folder 2016-07-13 14:24:35 +05:30
sil164_drv.c drm/i2c/sil164: removed unnecessary code, mode_fixup is now optional. 2016-02-11 09:24:00 +01:00
tda998x_drv.c drm/i2c: tda998x: allow sharing of the CEC device accesses 2016-11-18 00:00:40 +00:00