Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a2396a32 authored by Swaminathan S's avatar Swaminathan S Committed by Greg Kroah-Hartman
Browse files

USB: musb: Populate the VBUS GPIO with the correct GPIO number



This fixes a null-pointer dereference bug.

Signed-off-by: default avatarSwaminathan S <swami.iyer@ti.com>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: default avatarSergei Shtylyov <sshtylyov@ru.mvista.com>
Acked-by: default avatarAnand Gadiyar <gadiyar@ti.com>
Signed-off-by: default avatarFelipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 8a700f3d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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"