dwc3-msm: Don't perform bus voting from dwc3 driver probe
Currently dwc3 driver's probe is doing bus voting. This voting remains until USB cable is connected and disconnected. Due to this voting, XOSD is not happening. Fix this issue by removing voting from driver's probe context and let USB's suspend and resume take care of bus unvoting and voting respectively. CRs-Fixed: 1007183 Change-Id: I34f7cbf2aa10b63712e5142f908fa77ae195f5b1 Signed-off-by: Mayank Rana <mrana@codeaurora.org>
This commit is contained in:
parent
ab02a8dd22
commit
29a79eb7ca
1 changed files with 1 additions and 7 deletions
|
@ -2723,15 +2723,9 @@ static int dwc3_msm_probe(struct platform_device *pdev)
|
||||||
}
|
}
|
||||||
|
|
||||||
mdwc->bus_scale_table = msm_bus_cl_get_pdata(pdev);
|
mdwc->bus_scale_table = msm_bus_cl_get_pdata(pdev);
|
||||||
if (!mdwc->bus_scale_table) {
|
if (mdwc->bus_scale_table) {
|
||||||
dev_err(&pdev->dev, "bus scaling is disabled\n");
|
|
||||||
} else {
|
|
||||||
mdwc->bus_perf_client =
|
mdwc->bus_perf_client =
|
||||||
msm_bus_scale_register_client(mdwc->bus_scale_table);
|
msm_bus_scale_register_client(mdwc->bus_scale_table);
|
||||||
ret = msm_bus_scale_client_update_request(
|
|
||||||
mdwc->bus_perf_client, 1);
|
|
||||||
if (ret)
|
|
||||||
dev_err(&pdev->dev, "Failed to vote for bus scaling\n");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dwc = platform_get_drvdata(mdwc->dwc3);
|
dwc = platform_get_drvdata(mdwc->dwc3);
|
||||||
|
|
Loading…
Add table
Reference in a new issue