diff options
| author | Ajay Agarwal <ajaya@codeaurora.org> | 2017-11-23 22:00:00 +0530 |
|---|---|---|
| committer | Ajay Agarwal <ajaya@codeaurora.org> | 2017-11-24 11:28:52 +0530 |
| commit | 7b3d4391194bfbdfd343040c11bad376d84e11f6 (patch) | |
| tree | 932d2583a48d28ebef405b38805f907e4dc7b6ed /scripts/docproc.c | |
| parent | f697ab3e511d5aa651e0ce53410117e3f13d6213 (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
