From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laurent Pinchart Subject: Re: [PATCH 0/4] musb fixes for v4.9-rc cycle Date: Fri, 11 Nov 2016 00:27:52 +0200 Message-ID: <32864936.qtvKvn2hnh@avalon> References: <20161107215020.31399-1-tony@atomide.com> <13695022.UUbBUaRpJY@avalon> <20161110204233.GJ27724@atomide.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: In-Reply-To: <20161110204233.GJ27724-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org> Sender: linux-usb-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Tony Lindgren Cc: Bin Liu , Boris Brezillon , Greg Kroah-Hartman , Andreas Kemnade , Felipe Balbi , George Cherian , Kishon Vijay Abraham I , Ivaylo Dimitrov , Johan Hovold , Ladislav Michl , Sergei Shtylyov , linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-omap@vger.kernel.org Hi Tony, On Thursday 10 Nov 2016 13:42:34 Tony Lindgren wrote: > * Laurent Pinchart [161110 13:29]: > > I had to disable CONFIG_USB_GADGET is compiling it as a module prevents > > selecting CONFIG_NOP_USB_XCEIV=y, which is a dependency for > > CONFIG_USB_EHCI_HCD_OMAP=m. > > > > The new configuration resulted in a few changes, among which the most > > notable is > > > > -# CONFIG_USB_MUSB_HOST is not set > > -# CONFIG_USB_MUSB_GADGET is not set > > -CONFIG_USB_MUSB_DUAL_ROLE=y > > +CONFIG_USB_MUSB_HOST=y > > > > I then get the same error as originally reported. > > Yeah OK, that's the problem.. We still have musb hardware > trying to do things on it's own and phy trying to detect > the state. > > Any ideas why we have a dependency like that in Kconfig? Well, with CONFIG_USB_GADGET disabled, I don't expect CONFIG_USB_MUSB_GADGET to be enabled. MUSB can only operate in host mode in that case, so musb- >xceiv->otg->state = OTG_STATE_A_IDLE makes sense. -- Regards, Laurent Pinchart -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html