USB: musb: Populate the VBUS GPIO with the correct GPIO number
authorSwaminathan S <[email protected]>
Tue, 15 Dec 2009 11:29:57 +0000 (13:29 +0200)
committerGreg Kroah-Hartman <[email protected]>
Wed, 23 Dec 2009 19:34:13 +0000 (11:34 -0800)
This fixes a null-pointer dereference bug.

Signed-off-by: Swaminathan S <[email protected]>
Cc: David Brownell <[email protected]>
Acked-by: Sergei Shtylyov <[email protected]>
Acked-by: Anand Gadiyar <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/usb/musb/davinci.c

index e16ff605c458aa5a5b29e224deec2033adb96851..66913811af5e84a4cc433ce6f00c4d8918b66383 100644 (file)
@@ -42,7 +42,7 @@
 #include "musb_core.h"
 
 #ifdef CONFIG_MACH_DAVINCI_EVM
-#define GPIO_nVBUS_DRV         144
+#define GPIO_nVBUS_DRV         160
 #endif
 
 #include "davinci.h"