msm: mdss: dp: update sink count during hotplug event

Update the sink count during the hotplug event in order
to detect hotplug events which involve more than one
sink device.

CRs-Fixed: 1076516
Change-Id: Ic3956da41e04d6287803478527964001db46c67b
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
This commit is contained in:
Tatenda Chipeperekwa 2016-11-16 15:40:29 -08:00 committed by Gerrit - the friendly Code Review server
parent 7ea6182fb7
commit 99cb5f3d7b

View file

@ -35,6 +35,7 @@
#include "mdss_dp_util.h"
static void dp_sink_parse_test_request(struct mdss_dp_drv_pdata *ep);
static void dp_sink_parse_sink_count(struct mdss_dp_drv_pdata *ep);
/*
* edp buffer operation
@ -970,6 +971,8 @@ static void dp_sink_capability_read(struct mdss_dp_drv_pdata *ep,
cap->training_read_interval = 4000 * data; /* us */
pr_debug("training_interval=%d\n",
cap->training_read_interval);
dp_sink_parse_sink_count(ep);
}
static int dp_link_status_read(struct mdss_dp_drv_pdata *ep, int len)