[PATCH 3/3] usb: phy: mxs: remove CONFIG_USB_OTG condition for mxs_phy_is_otg_host()

Fabio Estevam festevam at gmail.com
Thu Dec 14 03:25:36 PST 2023


On Thu, Dec 14, 2023 at 8:20 AM Xu Yang <xu.yang_2 at nxp.com> wrote:
>
> 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.
>
> Signed-off-by: Xu Yang <xu.yang_2 at nxp.com>

Fixes tag?



More information about the linux-arm-kernel mailing list