kernel_samsung_a53x/drivers/usb/phy
Xu Yang 84fbb05f4c usb: phy: mxs: remove CONFIG_USB_OTG condition for mxs_phy_is_otg_host()
commit ff2b89de471da942a4d853443688113a44fd35ed upstream.

When CONFIG_USB_OTG is not set, mxs_phy_is_otg_host() will always return
false. This behaviour is wrong. Since phy.last_event will always be set
for either host or device mode. Therefore, CONFIG_USB_OTG condition
can be removed.

Fixes: 5eda42aebb76 ("usb: phy: mxs: fix getting wrong state with mxs_phy_is_otg_host()")
cc:  <stable@vger.kernel.org>
Acked-by: Peter Chen <peter.chen@kernel.org>
Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
Link: https://lore.kernel.org/r/20231228110753.1755756-3-xu.yang_2@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-18 12:12:46 +01:00
..
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
of.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
phy-ab8500-usb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
phy-am335x-control.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
phy-am335x-control.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
phy-am335x.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
phy-fsl-usb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
phy-fsl-usb.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
phy-generic.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
phy-generic.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
phy-gpio-vbus-usb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
phy-isp1301-omap.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
phy-isp1301.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
phy-jz4770.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
phy-keystone.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
phy-mv-usb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
phy-mv-usb.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
phy-mxs-usb.c usb: phy: mxs: remove CONFIG_USB_OTG condition for mxs_phy_is_otg_host() 2024-11-18 12:12:46 +01:00
phy-omap-otg.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
phy-tahvo.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
phy-tegra-usb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
phy-twl6030-usb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
phy-ulpi-viewport.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
phy-ulpi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
phy.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00