drm/bridge/sii8620: respond to feature requests 81/102881/3
authorAndrzej Hajda <a.hajda@samsung.com>
Tue, 22 Nov 2016 15:32:15 +0000 (16:32 +0100)
committerInki Dae <inki.dae@samsung.com>
Wed, 14 Dec 2016 02:49:44 +0000 (18:49 -0800)
MHL3 protocol requires device to respond to feature request from peer.
This minimal answer fulfills the requirement and allows to continue
negotiation.

Change-Id: Ifa2ed4d4db2cd29e50eef8144eef3eeb16aa2d72
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
drivers/gpu/drm/bridge/sil-sii8620.c

index 3fc6b8162ddac317dbdca398c08461ee5670d452..7fdd50791b2728411140342555be190922b8c85a 100644 (file)
@@ -1472,6 +1472,10 @@ static void sii8620_msc_mr_set_int(struct sii8620 *ctx)
                        break;
                }
        }
+       if (ints[MHL_INT_RCHANGE] & MHL_INT_RC_FEAT_REQ) {
+               sii8620_mt_set_int(ctx, MHL_INT_REG(RCHANGE),
+                                  MHL_INT_RC_FEAT_COMPLETE);
+       }
 }
 
 static struct sii8620_mt_msg *sii8620_msc_msg_first(struct sii8620 *ctx)