Re: twl4030_usb porting advice

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/17/10 10:11, Felipe Balbi wrote:
Hi,

On Fri, Dec 17, 2010 at 07:23:43AM +0000, Tomasz Mloduchowski wrote:
I'm quoting a snippet below for commenting.

[ 1.639892] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.646759] ehci_hcd: block sizes: qh 60 qtd 96 itd 160 sitd 96
[ 1.646881] ehci-omap ehci-omap.0: failed to get ehci port1 regulator

This is alarming. Please add this patch to get the error code:

This is also alarming... Let's increase the timeout just for a debugging
purpose:
I've applied both patches. The new kernel log in its entirety resides
here:
http://pastie.org/1384896

Unfortunately seems like pastie.org is down:

503 Service Unavailable
No server is available to handle this request.

And the line of interest is
[ 2.085449] ehci-omap ehci-omap.0: failed to get ehci port1 regulator
--> 0

Unfortunately, I don't understand what an error code of '0' might mean
here, but it surely does something.

That's funny, 0 means "success", not sure why that branch is being
called.

I'll wait a bit until pastie is back, but if you could append to your
reply the output of dmesg | grep -i ehci I'd be glad.

I really appreciate your help, this sort of a bug that really stunned me.

I've noticed that the variable storing the error code is set to NULL right before printing it out :(, so I corrected this mistake.

[ 2.065216] ehci-omap ehci-omap.0: failed to get ehci port1 regulator --> -19

I also switched to pastebin, with the new, more meaningful dmesg:
http://pastebin.com/86kfLT2G

Cheers,
Tomasz
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux