Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1346544

Re: [PATCH] usb: phy: generic: Handle late registration of gadget

From Felipe Balbi <balbi@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH] usb: phy: generic: Handle late registration of gadget
Date 2016-03-01 12:50 +0100
Message-ID <r7QYp-af-3@gated-at.bofh.it> (permalink)
References <r7bBT-4yM-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi,

Maarten ter Huurne <maarten@treewalker.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@treewalker.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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] usb: phy: generic: Handle late registration of gadget Maarten ter Huurne <maarten@treewalker.org> - 2016-02-28 16:40 +0100
  Re: [PATCH] usb: phy: generic: Handle late registration of gadget Felipe Balbi <balbi@kernel.org> - 2016-03-01 12:50 +0100

csiph-web