USB: musb: Populate the VBUS GPIO with the correct GPIO number
authorSwaminathan S <swami.iyer@ti.com>
Tue, 15 Dec 2009 11:29:57 +0000 (13:29 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Dec 2009 19:34:13 +0000 (11:34 -0800)
commita2396a32b848a9864f933ced860192c72c769aca
treecb51e45d9548d1d7bb32ad4b99be16e9c9f5f919
parent8a700f3d0d34a79c9cb25f2c66552c181f9c5737
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>
drivers/usb/musb/davinci.c