diff options
author | Swaminathan S <swami.iyer@ti.com> | 2009-12-15 06:29:57 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-23 14:34:13 -0500 |
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 <swami.iyer@ti.com>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Acked-by: Anand Gadiyar <gadiyar@ti.com>
Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-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 @@ | |||
42 | #include "musb_core.h" | 42 | #include "musb_core.h" |
43 | 43 | ||
44 | #ifdef CONFIG_MACH_DAVINCI_EVM | 44 | #ifdef CONFIG_MACH_DAVINCI_EVM |
45 | #define GPIO_nVBUS_DRV 144 | 45 | #define GPIO_nVBUS_DRV 160 |
46 | #endif | 46 | #endif |
47 | 47 | ||
48 | #include "davinci.h" | 48 | #include "davinci.h" |