diff options
author | Bin Liu <b-liu@ti.com> | 2019-01-16 20:54:07 +0300 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2019-01-28 16:31:43 +0300 |
commit | a53469a68eb886e84dd8b69a1458a623d3591793 (patch) | |
tree | a99e08e9e87c22170fa15b0bad96e41e870c2bb3 /tools/perf/scripts/python/stackcollapse.py | |
parent | 512e6fb589bc18f9321457632e89b95017447db9 (diff) | |
download | linux-a53469a68eb886e84dd8b69a1458a623d3591793.tar.xz |
usb: phy: am335x: fix race condition in _probe
power off the phy should be done before populate the phy. Otherwise,
am335x_init() could be called by the phy owner to power on the phy first,
then am335x_phy_probe() turns off the phy again without the caller knowing
it.
Fixes: 2fc711d76352 ("usb: phy: am335x: Enable USB remote wakeup using PHY wakeup")
Cc: stable@vger.kernel.org # v3.18+
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions