summaryrefslogtreecommitdiff
path: root/scripts/docproc.c
diff options
context:
space:
mode:
authorAjay Agarwal <ajaya@codeaurora.org>2017-11-23 22:00:00 +0530
committerAjay Agarwal <ajaya@codeaurora.org>2017-11-24 11:28:52 +0530
commit7b3d4391194bfbdfd343040c11bad376d84e11f6 (patch)
tree932d2583a48d28ebef405b38805f907e4dc7b6ed /scripts/docproc.c
parentf697ab3e511d5aa651e0ce53410117e3f13d6213 (diff)
platform: msm: Set USB speed to SUPER before calling notifier
Currently we set the USB speed to SUPER after calling vbus/id notifier callback. As a part of cable connect, is USB speed is set to SUPER after connect resume_work is called, then we do not initialise the SSPHY. So clocks are OFF. But as part of cable disconnect, if USB speed is set to SUPER before disconnect resume_work is called, then we try to suspend SSPHY resulting in unclocked access. Fix this by mandatorily setting USB speed to SUPER before queuing VBUS/ID notifier. Change-Id: Iac4411ddafd87909b1b26c9b5a8eb354a073d268 Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
Diffstat (limited to 'scripts/docproc.c')
0 files changed, 0 insertions, 0 deletions