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

Xu Yang xu.yang_2 at nxp.com
Thu Dec 14 04:35:38 PST 2023


Hi Fabio,

> 
> 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?

Sorry, will add tag in v2.


More information about the linux-arm-kernel mailing list