From: Andrzej Hajda Date: Wed, 1 Feb 2017 07:47:39 +0000 (+0100) Subject: drm/bridge/sii8620: fix initialization sequence for MHL2 receivers X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ef822a0745720fc477ea87a497e847ddc2feb1f0;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git drm/bridge/sii8620: fix initialization sequence for MHL2 receivers MHL2 receiver require disabling transmitter on initialization. Signed-off-by: Andrzej Hajda Signed-off-by: Archit Taneja Link: http://patchwork.freedesktop.org/patch/msgid/1485935272-17337-13-git-send-email-a.hajda@samsung.com --- diff --git a/drivers/gpu/drm/bridge/sil-sii8620.c b/drivers/gpu/drm/bridge/sil-sii8620.c index a50ade6b282f..7d2869038267 100644 --- a/drivers/gpu/drm/bridge/sil-sii8620.c +++ b/drivers/gpu/drm/bridge/sil-sii8620.c @@ -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);