aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMarek Szyprowski <[email protected]>2014-10-20 12:45:39 +0200
committerFelipe Balbi <[email protected]>2014-11-03 10:01:23 -0600
commit7b093f773b85dd816c5717193ec94a7cfec73a09 (patch)
treecb30b4e7b4c368fd5467b03c59c8001a8e35184b /tools/perf/scripts/python
parent5b9451f8c4fbaf0549139755fb45ff2b57975b7f (diff)
usb: dwc2: gadget: fix calls to phy control functions in suspend/resume code
This patch moves calls to phy enable/disable out of spinlock protected blocks in device suspend/resume to fix incorrect caller context. Phy related functions must not be called from atomic context. To protect device internal state from a race during suspend, a call to s3c_hsotg_core_disconnect() is added under a spinlock, what prevents any further activity on the usb bus. Acked-by: Paul Zimmerman <[email protected]> Signed-off-by: Marek Szyprowski <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions