summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Hilman <khilman@deeprootsystems.com>2009-07-01 03:33:46 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2009-07-12 15:16:37 -0700
commit30899ca7f20571c4bd64544dec261171f6ec255b (patch)
tree7c814ac6ccea64e0e8e933fcbc002e347574df51
parentd163ef248385fc434e44b04a5151ae5d6a6c2d16 (diff)
downloadlinux-3.10-30899ca7f20571c4bd64544dec261171f6ec255b.tar.gz
linux-3.10-30899ca7f20571c4bd64544dec261171f6ec255b.tar.bz2
linux-3.10-30899ca7f20571c4bd64544dec261171f6ec255b.zip
USB: musb: davinci dm6446evm GPIO renumbering
Numbering for GPIOs on the pcf857x chips on the dm644x EVM board changed when DaVinci chips with more GPIOs were supported. Update the GPIO number used for nVBUS_DRV. Longer term, we need a better abstraction of board-specific setup in this code so we're not hard-coding board specific GPIOs into the driver, but for now this at least gets it back to working with mainline davinci core code. Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/usb/musb/davinci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/musb/davinci.c b/drivers/usb/musb/davinci.c
index 658ae4e83f6..992b516efd8 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 87
+#define GPIO_nVBUS_DRV 144
#endif
#include "davinci.h"