diff mbox

MUSB: fix DM644xEVM DRVVBUS GPIO number

Message ID 200909021630.15607.sshtylyov@ru.mvista.com (mailing list archive)
State Changes Requested
Headers show

Commit Message

Sergei Shtylyov Sept. 2, 2009, 12:30 p.m. UTC
Commit 30899ca7f20571c4bd64544dec261171f6ec255b (USB: musb: davinci dm6446evm
GPIO renumbering) has updated GPIO_nVBUS_DRV to a wrong value which causes a
kernel oops.

The DaVinci chips have 104 GPIOs max, not 128, hence the correct value is 120
(that is 104 + 8 + 8), not 144.

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>

---
Please, apply it before 2.6.31 is out as it fixes a kernel oops...

 drivers/usb/musb/davinci.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

Comments

Sergei Shtylyov Sept. 7, 2009, 12:23 p.m. UTC | #1
Hello, I wrote:

> Commit 30899ca7f20571c4bd64544dec261171f6ec255b (USB: musb: davinci dm6446evm
> GPIO renumbering) has updated GPIO_nVBUS_DRV to a wrong value which causes a
> kernel oops.

> The DaVinci chips have 104 GPIOs max, not 128, hence the correct value is 120
> (that is 104 + 8 + 8), not 144.

> Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>

> ---
> Please, apply it before 2.6.31 is out as it fixes a kernel oops...

    Ping.

WBR, Sergei
Sergei Shtylyov Sept. 15, 2009, 11:18 a.m. UTC | #2
Hello, I wrote:

>> Commit 30899ca7f20571c4bd64544dec261171f6ec255b (USB: musb: davinci 
>> dm6446evm
>> GPIO renumbering) has updated GPIO_nVBUS_DRV to a wrong value which 
>> causes a
>> kernel oops.
>
>> The DaVinci chips have 104 GPIOs max, not 128, hence the correct 
>> value is 120
>> (that is 104 + 8 + 8), not 144.
>
>> Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
>
>> ---
>> Please, apply it before 2.6.31 is out as it fixes a kernel oops...
>
>    Ping.

   David, Greg is waiting for your ACKs (or NAKs) on my several 
outstanding MUSB patches... we've already missed 2.6.31. :-/

WBR, Sergei
diff mbox

Patch

Index: linux-2.6/drivers/usb/musb/davinci.c
===================================================================
--- linux-2.6.orig/drivers/usb/musb/davinci.c
+++ linux-2.6/drivers/usb/musb/davinci.c
@@ -42,7 +42,7 @@ 
 #include "musb_core.h"
 
 #ifdef CONFIG_MACH_DAVINCI_EVM
-#define GPIO_nVBUS_DRV		144
+#define GPIO_nVBUS_DRV		120
 #endif
 
 #include "davinci.h"