linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: robert.jarzmik@free.fr (Robert Jarzmik)
To: linux-arm-kernel@lists.infradead.org
Subject: pxa27x_udc: Oops on probe with usb cable connected.
Date: Fri, 23 Jul 2010 21:07:02 +0200	[thread overview]
Message-ID: <8739vauieh.fsf@free.fr> (raw)
In-Reply-To: <20100723131816.a5a5e9a7.ospite@studenti.unina.it> (Antonio Ospite's message of "Fri\, 23 Jul 2010 13\:18\:16 +0200")

Antonio Ospite <ospite@studenti.unina.it> writes:

> On Thu, 22 Jul 2010 17:14:04 +0200
> Antonio Ospite <ospite@studenti.unina.it> wrote:
>> > Now, the interrupt "storm" could block the kernel. That would rather be an host
>> > issue. Did you try to connect your phone to another computer ?
>> >
>> > I would ask for a last test : on the first line of function pxa_udc_probe(),
>> > insert "return 0;". If kernel still stalls, the pxa27x-udc is not involved.
>> >
>> 
>> By inserting that "return 0;" the kernel goes on and I can complete
>> booting.
Too bad, pxa27x_udc has to be the culprit ...

Okay, I have a new track.
Would you apply the patch below and see if that improves your problem. This one
should:
 - disable the pullup line (and thus no irq should be triggered)
 - if an early irq is triggered anyway, don't handle it if no gadget driver was subscribed

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch.txt
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20100723/defe4b44/attachment.txt>
-------------- next part --------------

Cheers.

-- 
Robert

      reply	other threads:[~2010-07-23 19:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-30  9:53 pxa27x_udc: Oops on probe with usb cable connected Antonio Ospite
2010-07-02 18:17 ` Robert Jarzmik
2010-07-03 20:10   ` Antonio Ospite
2010-07-03 23:48     ` Robert Jarzmik
2010-07-05  8:40       ` Antonio Ospite
2010-07-06 22:34         ` Robert Jarzmik
2010-07-06 22:56           ` Antonio Ospite
2010-07-11  8:13         ` Robert Jarzmik
2010-07-22 15:14           ` Antonio Ospite
2010-07-23 11:18             ` Antonio Ospite
2010-07-23 19:07               ` Robert Jarzmik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8739vauieh.fsf@free.fr \
    --to=robert.jarzmik@free.fr \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).