[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87wppma0k9.fsf@ti.com>
Date: Tue, 01 Mar 2016 13:40:22 +0200
From: Felipe Balbi <balbi@...nel.org>
To: Maarten ter Huurne <maarten@...ewalker.org>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
Maarten ter Huurne <maarten@...ewalker.org>
Subject: Re: [PATCH] usb: phy: generic: Handle late registration of gadget
Hi,
Maarten ter Huurne <maarten@...ewalker.org> writes:
> It is possible for the VBUS detect GPIO interrupt to occur before
> nop_set_peripheral() is called, in which case otg->gadget is NULL.
>
> Signed-off-by: Maarten ter Huurne <maarten@...ewalker.org>
wonder if it would be best to guarantee this doesn't happen in the first
place, but I guess that would be too complex anyhow. I'll apply this as
is for now.
--
balbi
Download attachment "signature.asc" of type "application/pgp-signature" (819 bytes)
Powered by blists - more mailing lists