[PATCH] MUSB: fix DM644xEVM DRVVBUS GPIO number

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Commit 30899ca7f20571c4bd64544dec261171f6ec255b (USB: musb: davinci dm6446evm
GPIO renumbering) has updated GPIO_nVBUS_DRV to a wrong value which causes a
kernel oops.

The DaVinci chips have 104 GPIOs max, not 128, hence the correct value is 120
(that is 104 + 8 + 8), not 144.

Signed-off-by: Sergei Shtylyov <sshtylyov@xxxxxxxxxxxxx>

---
Please, apply it before 2.6.31 is out as it fixes a kernel oops...

 drivers/usb/musb/davinci.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6/drivers/usb/musb/davinci.c
===================================================================
--- linux-2.6.orig/drivers/usb/musb/davinci.c
+++ linux-2.6/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		120
 #endif
 
 #include "davinci.h"

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux