mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
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>
This commit is contained in:
parent
8a700f3d0d
commit
a2396a32b8
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue