diff options
author | Xu Yang <xu.yang_2@nxp.com> | 2023-12-28 14:07:53 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-01-04 18:01:56 +0300 |
commit | ff2b89de471da942a4d853443688113a44fd35ed (patch) | |
tree | 0ebf1b5d5d45bd7e1a1c7d5e2990d99106e39476 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 128d849074d05545becf86e713715ce7676fc074 (diff) | |
download | linux-ff2b89de471da942a4d853443688113a44fd35ed.tar.xz |
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: 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>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions