diff options
author | Swaminathan S <[email protected]> | 2009-12-15 13:29:57 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2009-12-23 11:34:13 -0800 |
commit | a2396a32b848a9864f933ced860192c72c769aca (patch) | |
tree | cb51e45d9548d1d7bb32ad4b99be16e9c9f5f919 | |
parent | 8a700f3d0d34a79c9cb25f2c66552c181f9c5737 (diff) |
USB: musb: Populate the VBUS GPIO with the correct GPIO number
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]>
-rw-r--r-- | drivers/usb/musb/davinci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/musb/davinci.c b/drivers/usb/musb/davinci.c index e16ff605c458..66913811af5e 100644 --- a/drivers/usb/musb/davinci.c +++ b/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 160 #endif #include "davinci.h" |