summaryrefslogtreecommitdiff
path: root/tools/perf/util/llvm-utils.c
diff options
context:
space:
mode:
authorAjay Agarwal <ajaya@codeaurora.org>2018-07-31 12:40:10 +0530
committerAjay Agarwal <ajaya@codeaurora.org>2018-07-31 12:47:12 +0530
commit3674a33d5de3d453795941e2d3db9248298d6cfb (patch)
treee35385f0ec46cd6b3b11979e6df693f7140265c4 /tools/perf/util/llvm-utils.c
parent1deb9383f1a5c164dbc1dec03bbd48d6101f5d3c (diff)
usb: dwc3-msm: Queue resume_work unconditionally on pm_resume
Currently on pm_resume, the driver queues resume_work only if vbus_active is true or id_state is false. So when the system is suspended with host mode cable connected and the cable is disconnected, the port still remains in host mode. Fix this by unconditionally queueing resume_work from pm_resume and adding required pm_relax in B_IDLE branch of sm_work. Also create a freezable workqueue for sm_work so that the work items do not race with pm_resume of child devices. Change-Id: I9b79ddcc44c87111fc85086038361d9140be2af5 Signed-off-by: Ajay Agarwal <ajaya@codeaurora.org>
Diffstat (limited to 'tools/perf/util/llvm-utils.c')
0 files changed, 0 insertions, 0 deletions