Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/i2c: tda998x: fix audio muting

Fix a bug that was introduced in commit c4c11dd160a8 ("drm/i2c: tda998x:
add video and audio input configuration") when Sebastian cleaned up my
original patch. Without this being fixed, audio is muted when the
display is turned off, never to be re-enabled.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Cc: Darren Etheridge <detheridge@ti.com>
Cc: Dave Airlie <airlied@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Russell King and committed by
Linus Torvalds
db6aaf4d 53dad6d3

+1 -2
+1 -2
drivers/gpu/drm/i2c/tda998x_drv.c
··· 707 707 reg_write(encoder, REG_VIP_CNTRL_2, priv->vip_cntrl_2); 708 708 break; 709 709 case DRM_MODE_DPMS_OFF: 710 - /* disable audio and video ports */ 711 - reg_write(encoder, REG_ENA_AP, 0x00); 710 + /* disable video ports */ 712 711 reg_write(encoder, REG_ENA_VP_0, 0x00); 713 712 reg_write(encoder, REG_ENA_VP_1, 0x00); 714 713 reg_write(encoder, REG_ENA_VP_2, 0x00);