OpenCloudOS-Kernel/drivers/gpu/drm/i2c
Russell King 2cae8e028e drm/i2c: tda998x: avoid race when programming audio
Avoid a race between programming audio and an in-progress mode set.
A mode set is complex, and disables the ability to send infoframes
to the sink, and is disruptive to audio - we have to mute the audio
FIFO while doing a mode set.

If an attempt is made to start up the audio side, we will undo the
audio FIFO mute before the mode set has completed.

Move the lock so that we prevent audio interfering with an in-progress
mode set.

Tested-by: Jon Medhurst <tixy@linaro.org>
Acked-by: Jon Medhurst <tixy@linaro.org>
Tested-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
2016-11-18 00:00:40 +00: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
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
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: avoid race when programming audio 2016-11-18 00:00:40 +00:00