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


Groups > linux.kernel > #1209107

Re: repeat... Re: BUG: usb: phy: msm: problem with EPROBE defer and extcon cleanup

From "Ivan T. Ivanov" <iivanov@mm-sol.com>
Newsgroups linux.kernel
Subject Re: repeat... Re: BUG: usb: phy: msm: problem with EPROBE defer and extcon cleanup
Date 2015-08-18 10:10 +0200
Message-ID <pYK82-j8-7@gated-at.bofh.it> (permalink)
References <pYCka-5wZ-33@gated-at.bofh.it> <pYCka-5wZ-39@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, 2015-08-17 at 16:46 -0700, Tim Bird wrote:
> Sorry - I mistyped Ivan's e-mail the first time.
> 
> On 08/17/2015 04:43 PM, Tim Bird wrote:
> > Ivan,
> > 
> > I'm seeing a bug in the phy-msm-usb.c code, when I get an EPROBE defer during probing the driver.
> > The code is statically linked in the kernel, and the dts for my board is specifying an extcon phandle
> > for the ID pin.
> > 
> > Below is a fragment of the kernel output for a boot of this code.  Messages prefixed with TRB
> > are my own debug printks.  Note that the notifier block (at ee23513c) that gets registered
> > with extcon before the first probe failure, ultimately gets used during an ID pin event
> > (status change) by raw_notifier_call_chain().  This notifier block should be unregistered
> > if the probe fails, so that only the second one registered is on the call chain.

Right, I have missed to send one patch, sorry. Please, could you try this one [1].

Regards,
Ivan

[1] https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg957405.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


Thread

BUG: usb: phy: msm: problem with EPROBE defer and extcon cleanup Tim Bird <tim.bird@sonymobile.com> - 2015-08-18 01:50 +0200
  repeat... Re: BUG: usb: phy: msm: problem with EPROBE defer and extcon  cleanup Tim Bird <tim.bird@sonymobile.com> - 2015-08-18 01:50 +0200
    Re: repeat... Re: BUG: usb: phy: msm: problem with EPROBE defer and  extcon cleanup "Ivan T. Ivanov" <iivanov@mm-sol.com> - 2015-08-18 10:10 +0200

csiph-web