android_kernel_oneplus_msm8998/drivers/usb/phy
Bin Liu ff8c1826ee usb: phy: am335x: fix race condition in _probe
commit a53469a68eb886e84dd8b69a1458a623d3591793 upstream.

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: 2fc711d763 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-02-20 10:13:16 +01:00
..
am35x-phy-control.h
Kconfig usb: phy: msm add regulator dependency 2018-02-25 11:03:51 +01:00
Makefile
of.c
phy-ab8500-usb.c
phy-am335x-control.c
phy-am335x.c usb: phy: am335x: fix race condition in _probe 2019-02-20 10:13:16 +01:00
phy-fsl-usb.c usb/phy: fix PPC64 build errors in phy-fsl-usb.c 2018-09-05 09:18:34 +02:00
phy-fsl-usb.h
phy-generic.c
phy-generic.h
phy-gpio-vbus-usb.c
phy-isp1301-omap.c
phy-isp1301.c
phy-keystone.c
phy-msm-usb.c
phy-mv-usb.c
phy-mv-usb.h
phy-mxs-usb.c
phy-omap-otg.c
phy-qcom-8x16-usb.c
phy-rcar-usb.c
phy-tahvo.c
phy-tegra-usb.c
phy-twl6030-usb.c
phy-ulpi-viewport.c
phy-ulpi.c
phy.c