From: Swaminathan S Date: Tue, 15 Dec 2009 11:29:57 +0000 (+0200) Subject: USB: musb: Populate the VBUS GPIO with the correct GPIO number X-Git-Tag: v3.12-rc1~11727^2~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a2396a32b848a9864f933ced860192c72c769aca;p=kernel%2Fkernel-generic.git USB: musb: Populate the VBUS GPIO with the correct GPIO number This fixes a null-pointer dereference bug. Signed-off-by: Swaminathan S Cc: David Brownell Acked-by: Sergei Shtylyov Acked-by: Anand Gadiyar Signed-off-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/musb/davinci.c b/drivers/usb/musb/davinci.c index e16ff60..6691381 100644 --- a/drivers/usb/musb/davinci.c +++ b/drivers/usb/musb/davinci.c @@ -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"