summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c
diff options
context:
space:
mode:
authorBin Liu <b-liu@ti.com>2019-01-16 11:54:07 -0600
committerFelipe Balbi <felipe.balbi@linux.intel.com>2019-01-28 15:31:43 +0200
commita53469a68eb886e84dd8b69a1458a623d3591793 (patch)
treea99e08e9e87c22170fa15b0bad96e41e870c2bb3 /drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c
parent512e6fb589bc18f9321457632e89b95017447db9 (diff)
downloadlinux-a53469a68eb886e84dd8b69a1458a623d3591793.tar.gz
linux-a53469a68eb886e84dd8b69a1458a623d3591793.tar.bz2
linux-a53469a68eb886e84dd8b69a1458a623d3591793.zip
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_prime.c')
0 files changed, 0 insertions, 0 deletions