Skip to content

Commit db6aaf4

Browse files
Russell Kingtorvalds
Russell King
authored andcommitted
drm/i2c: tda998x: fix audio muting
Fix a bug that was introduced in commit c4c11dd ("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 <[email protected]> Cc: Sebastian Hesselbarth <[email protected]> Cc: Darren Etheridge <[email protected]> Cc: Dave Airlie <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 53dad6d commit db6aaf4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/gpu/drm/i2c/tda998x_drv.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -707,8 +707,7 @@ tda998x_encoder_dpms(struct drm_encoder *encoder, int mode)
707707
reg_write(encoder, REG_VIP_CNTRL_2, priv->vip_cntrl_2);
708708
break;
709709
case DRM_MODE_DPMS_OFF:
710-
/* disable audio and video ports */
711-
reg_write(encoder, REG_ENA_AP, 0x00);
710+
/* disable video ports */
712711
reg_write(encoder, REG_ENA_VP_0, 0x00);
713712
reg_write(encoder, REG_ENA_VP_1, 0x00);
714713
reg_write(encoder, REG_ENA_VP_2, 0x00);

0 commit comments

Comments
 (0)