From: Aaro Koskinen Date: Sat, 24 Nov 2018 22:17:07 +0000 (+0200) Subject: USB: omap_udc: fix USB gadget functionality on Palm Tungsten E X-Git-Tag: v3.18.130~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6d22ef74f416cc45567ebcb64fd0c780f9317077;p=profile%2Fwearable%2Fplatform%2Fkernel%2Flinux-3.18-exynos7270.git USB: omap_udc: fix USB gadget functionality on Palm Tungsten E [ Upstream commit 2c2322fbcab8102b8cadc09d66714700a2da42c2 ] 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 Signed-off-by: Felipe Balbi Signed-off-by: Sasha Levin --- diff --git a/drivers/usb/gadget/udc/omap_udc.c b/drivers/usb/gadget/udc/omap_udc.c index 184d88e..1a457dd 100644 --- a/drivers/usb/gadget/udc/omap_udc.c +++ b/drivers/usb/gadget/udc/omap_udc.c @@ -2037,6 +2037,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();