dwc3-msm: Move bus bandwidth voting from dwc3_msm_bus_vote_w workqueue
On some platform, all system buses can be power collapsed which is used
by USB controller to access DDR. dwc3_msm_bus_vote_w workqueue doesn't
guarantee bus voting completed before dwc3_msm_resume() based POR
sequence is performed. This can result into unclock bus access by USB
controller. Hence move bus bandwidth voting from dwc3_msm_bus_vote_w
workqueue to dwc3_msm_resume() and dwc3_msm_suspend() APIs (i.e. USB
suspend/resume APIs).
CRs-Fixed: 2033632
Change-Id: I36e44f7200175a69d96f032c7eb11eb774016f9f
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
1 file changed