diff options
author | Bin Liu <[email protected]> | 2019-01-16 11:54:07 -0600 |
---|---|---|
committer | Felipe Balbi <[email protected]> | 2019-01-28 15:31:43 +0200 |
commit | a53469a68eb886e84dd8b69a1458a623d3591793 (patch) | |
tree | a99e08e9e87c22170fa15b0bad96e41e870c2bb3 /net/lapb/lapb_in.c | |
parent | 512e6fb589bc18f9321457632e89b95017447db9 (diff) |
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: [email protected] # v3.18+
Signed-off-by: Bin Liu <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions