drm/bridge/sii8620: fix initialization sequence for MHL2 receivers
authorAndrzej Hajda <a.hajda@samsung.com>
Wed, 1 Feb 2017 07:47:39 +0000 (08:47 +0100)
committerArchit Taneja <architt@codeaurora.org>
Thu, 2 Feb 2017 09:45:26 +0000 (15:15 +0530)
MHL2 receiver require disabling transmitter on initialization.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1485935272-17337-13-git-send-email-a.hajda@samsung.com
drivers/gpu/drm/bridge/sil-sii8620.c

index a50ade6b282f464ee47d10e4f66a12f737151379..7d28690382670bb1de3277e0cac22a6944c01f18 100644 (file)
@@ -880,12 +880,11 @@ static void sii8620_stop_video(struct sii8620 *ctx)
                        | BIT_TPI_SC_TPI_AV_MUTE;
                break;
        case SINK_HDMI:
+       default:
                val = BIT_TPI_SC_REG_TMDS_OE_POWER_DOWN
                        | BIT_TPI_SC_TPI_AV_MUTE
                        | BIT_TPI_SC_TPI_OUTPUT_MODE_0_HDMI;
                break;
-       default:
-               return;
        }
 
        sii8620_write(ctx, REG_TPI_SC, val);