USB: omap_udc: fix USB gadget functionality on Palm Tungsten E
authorAaro Koskinen <aaro.koskinen@iki.fi>
Sat, 24 Nov 2018 22:17:07 +0000 (00:17 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 26 Nov 2018 10:38:00 +0000 (12:38 +0200)
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>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/udc/omap_udc.c

index 33250e569af827ef7605ed62a841da3d7cb14034..9b23e04c8f026ef0a673c0974e7befc4d5624d69 100644 (file)
@@ -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();