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

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
......@@ -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"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment