[v2,4/5] USB: omap_udc: fix USB gadget functionality on Palm Tungsten E
diff mbox series

Message ID 20181124221708.31003-5-aaro.koskinen@iki.fi
State Accepted
Commit 2c2322fbcab8102b8cadc09d66714700a2da42c2
Headers show
Series
  • omap_udc bug fixes
Related show

Commit Message

Aaro Koskinen Nov. 24, 2018, 10:17 p.m. UTC
On Palm TE nothing happens when you try to use gadget drivers and plug
the USB cable. Fix by adding the board to the vbus sense quirk list.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
---
 drivers/usb/gadget/udc/omap_udc.c | 1 +
 1 file changed, 1 insertion(+)

Patch
diff mbox series

diff --git a/drivers/usb/gadget/udc/omap_udc.c b/drivers/usb/gadget/udc/omap_udc.c
index 33250e569af8..9b23e04c8f02 100644
--- a/drivers/usb/gadget/udc/omap_udc.c
+++ b/drivers/usb/gadget/udc/omap_udc.c
@@ -2033,6 +2033,7 @@  static inline int machine_without_vbus_sense(void)
 {
 	return machine_is_omap_innovator()
 		|| machine_is_omap_osk()
+		|| machine_is_omap_palmte()
 		|| machine_is_sx1()
 		/* No known omap7xx boards with vbus sense */
 		|| cpu_is_omap7xx();