From: Felipe Balbi <me@felipebalbi.com>
To: Jarkko Nikula <jhnikula@gmail.com>
Cc: me@felipebalbi.com, felipe.balbi@nokia.com, "Gadiyar,
Anand" <gadiyar@ti.com>, "Gupta, Ajay Kumar" <ajay.gupta@ti.com>,
"linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>,
"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>
Subject: Re: MUSB regression in 2.6.31-rc6
Date: Sun, 16 Aug 2009 12:02:03 +0300 [thread overview]
Message-ID: <20090816090202.GA5726@gandalf> (raw)
In-Reply-To: <20090816114731.68a0ffc3.jhnikula@gmail.com>
Hi,
On Sun, Aug 16, 2009 at 11:47:31AM +0300, Jarkko Nikula wrote:
> On Sun, 16 Aug 2009 11:25:14 +0300
> Felipe Balbi <me@felipebalbi.com> wrote:
>
> > NOP should not be necessary, beagle uses twl4030-usb as its transceiver,
> > unlike evm, which uses isp1504, if I'm not wrong.
> >
> > Could you try the following patch ?
> >
> No help but thanks to Koen's hint, I was able to capture the oops. I
> compiled the kernel using your defconfig change and set the DEBUG_LL.
if you:
$ arm-linux-gdb vmlinux
(gdb) l *(musb_platform_suspend + 0x34)
you'll see that ends up in otg_set_suspend()
basically when it checks:
if (otg->set_suspend)
so the problem is still related to the missing otg transceiver
could you printk twl4030_usb_probe() to see what's going on ?
check whether otg_set_transceiver() is being successfully called. The
following will give some hint (maybe)
================= cut here ==========================
diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430.c
index 3487520..6733da9 100644
--- a/drivers/usb/musb/omap2430.c
+++ b/drivers/usb/musb/omap2430.c
@@ -213,6 +213,7 @@ int __init musb_platform_init(struct musb *musb)
* which needs a driver, drivers aren't always needed.
*/
musb->xceiv = otg_get_transceiver();
+ printk(KERN_INFO "%s: xceiv %p\n", __func__, musb->xceiv);
if (!musb->xceiv) {
pr_err("HS USB OTG: no transceiver configured\n");
return -ENODEV;
diff --git a/drivers/usb/otg/twl4030-usb.c b/drivers/usb/otg/twl4030-usb.c
index 9e3e7a5..6d994cf 100644
--- a/drivers/usb/otg/twl4030-usb.c
+++ b/drivers/usb/otg/twl4030-usb.c
@@ -687,6 +687,7 @@ static int __devinit twl4030_usb_probe(struct platform_device *pdev)
kfree(twl);
return err;
}
+ print(KERN_INFO "%s: xceiv %p\n", __func__, &twl->otg);
otg_set_transceiver(&twl->otg);
platform_set_drvdata(pdev, twl);
--
balbi
next prev parent reply other threads:[~2009-08-16 9:02 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-15 14:43 MUSB regression in 2.6.31-rc6 Jarkko Nikula
[not found] ` <20090815174352.c2883585.jhnikula-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-08-15 14:49 ` Gadiyar, Anand
[not found] ` <5A47E75E594F054BAF48C5E4FC4B92AB0305398E07-/tLxBxkBPtCIQmiDNMet8wC/G2K4zDHf@public.gmane.org>
2009-08-15 15:07 ` Jarkko Nikula
2009-08-15 17:40 ` Felipe Balbi
2009-08-16 3:47 ` Gupta, Ajay Kumar
[not found] ` <20090815174000.GA13164-xNZwKgViW5gAvxtiuMwx3w@public.gmane.org>
2009-08-16 7:44 ` Jarkko Nikula
2009-08-16 8:14 ` Koen Kooi
[not found] ` <20090816104415.e12a5e46.jhnikula-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-08-16 8:25 ` Felipe Balbi
2009-08-16 8:47 ` Jarkko Nikula
2009-08-16 9:02 ` Felipe Balbi [this message]
2009-08-16 13:07 ` Gupta, Ajay Kumar
[not found] ` <19F8576C6E063C45BE387C64729E739404322AA35B-/tLxBxkBPtCIQmiDNMet8wC/G2K4zDHf@public.gmane.org>
2009-08-16 13:13 ` Felipe Balbi
2009-08-16 16:49 ` Jarkko Nikula
2009-08-16 17:10 ` Felipe Balbi
2009-08-16 17:43 ` Jarkko Nikula
2009-08-16 21:52 ` Felipe Balbi
2009-08-17 12:51 ` Kalle Valo
-- strict thread matches above, loose matches on Subject: below --
2009-08-17 21:27 ewitcher
2009-08-18 7:31 ` Jarkko Nikula
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=20090816090202.GA5726@gandalf \
--to=me@felipebalbi.com \
--cc=ajay.gupta@ti.com \
--cc=felipe.balbi@nokia.com \
--cc=gadiyar@ti.com \
--cc=jhnikula@gmail.com \
--cc=linux-omap@vger.kernel.org \
--cc=linux-usb@vger.kernel.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