Commit a2396a32b848a9864f933ced860192c72c769aca

Authored by Swaminathan S
Committed by Greg Kroah-Hartman
1 parent 8a700f3d0d

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/usb/musb/davinci.c
... ... @@ -42,7 +42,7 @@
42 42 #include "musb_core.h"
43 43  
44 44 #ifdef CONFIG_MACH_DAVINCI_EVM
45   -#define GPIO_nVBUS_DRV 144
  45 +#define GPIO_nVBUS_DRV 160
46 46 #endif
47 47  
48 48 #include "davinci.h"