linux-stable/drivers/usb/phy
Xu Yang ff2b89de47 usb: phy: mxs: remove CONFIG_USB_OTG condition for mxs_phy_is_otg_host()
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: 5eda42aebb ("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-01-04 16:01:56 +01:00
..
Kconfig usb: phy: remove phy-isp1301-omap driver 2023-01-12 10:53:11 +01:00
Makefile usb: phy: remove phy-isp1301-omap driver 2023-01-12 10:53:11 +01:00
of.c
phy-ab8500-usb.c usb: phy: ab8500: Convert to platform remove callback returning void 2023-03-23 17:35:27 +01:00
phy-am335x-control.c usb: phy: am335x: convert to devm_platform_ioremap_resource_byname 2020-07-29 16:49:37 +02:00
phy-am335x-control.h
phy-am335x.c usb: phy: am335x: Convert to platform remove callback returning void 2023-03-23 17:35:27 +01:00
phy-fsl-usb.c usb: phy: fsl: Convert to platform remove callback returning void 2023-03-23 17:35:27 +01:00
phy-fsl-usb.h USB: phy: fsl-usb: remove character device usage 2020-07-03 10:18:41 +02:00
phy-generic.c usb: phy: generic: add suspend support for regulator 2023-11-23 12:32:43 +00:00
phy-generic.h usb: phy-generic: Delete unused platform data 2020-01-15 10:39:20 +01:00
phy-gpio-vbus-usb.c usb: phy: gpio-vbus: Convert to platform remove callback returning void 2023-03-23 17:35:27 +01:00
phy-isp1301.c usb: Switch i2c drivers back to use .probe() 2023-05-29 15:53:11 +01:00
phy-keystone.c usb: phy: keystone: Convert to platform remove callback returning void 2023-03-23 17:35:27 +01:00
phy-mv-usb.c usb: phy: mv: Convert to platform remove callback returning void 2023-03-23 17:35:27 +01:00
phy-mv-usb.h USB: phy: Use the correct style for SPDX License Identifier 2020-04-23 15:28:14 +02:00
phy-mxs-usb.c usb: phy: mxs: remove CONFIG_USB_OTG condition for mxs_phy_is_otg_host() 2024-01-04 16:01:56 +01:00
phy-omap-otg.c extcon: Fix extcon_get_extcon_dev() error handling 2022-05-13 17:03:40 +09:00
phy-tahvo.c usb: phy: phy-tahvo: fix memory leak in tahvo_usb_probe() 2023-05-29 15:49:16 +01:00
phy-tegra-usb.c usb: Explicitly include correct DT includes 2023-07-25 18:20:02 +02:00
phy-twl6030-usb.c usb: phy: twl6030: Remove snprintf() from sysfs call-backs and replace with sysfs_emit() 2023-12-15 13:55:30 +01:00
phy-ulpi-viewport.c usb: phy-ulpi-viewport: convert to readl_poll_timeout_atomic() 2020-09-25 16:30:05 +02:00
phy-ulpi.c
phy.c driver core: make struct device_type.uevent() take a const * 2023-01-27 13:45:36 +01:00