dect
/
linux-2.6
Archived
13
0
Fork 0

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:
Swaminathan S 2009-12-15 13:29:57 +02:00 committed by Greg Kroah-Hartman
parent 8a700f3d0d
commit a2396a32b8
1 changed files with 1 additions and 1 deletions

View File

@ -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"