drm/bridge/sii8620: respond to feature requests
authorAndrzej Hajda <a.hajda@samsung.com>
Wed, 1 Feb 2017 07:47:35 +0000 (08:47 +0100)
committerArchit Taneja <architt@codeaurora.org>
Thu, 2 Feb 2017 09:45:24 +0000 (15:15 +0530)
MHL3 protocol requires device to respond to feature request from peer.
This minimal answer fulfills the requirement and allows to continue
negotiation.

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-9-git-send-email-a.hajda@samsung.com
drivers/gpu/drm/bridge/sil-sii8620.c

index 744e685d67ae37a59b0618f8fee17bbfc157130f..384222612005e12b1345a56ea2daf0a111e3028f 100644 (file)
@@ -1475,6 +1475,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)