mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
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]>
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