Skip to content

Commit 858a74c

Browse files
aakoskingregkh
authored andcommitted
usb: gadget: omap_udc: fix USB gadget regression on Palm TE
When upgrading from 6.1 LTS to 6.6 LTS, I noticed the ethernet gadget stopped working on Palm TE. Commit 8825acd ("ARM: omap1: remove dead code") deleted Palm TE from machine_without_vbus_sense(), although the board is still used. Fix that. Fixes: 8825acd ("ARM: omap1: remove dead code") Cc: stable <stable@kernel.org> Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Acked-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/20240217192042.GA372205@darkstar.musicnaut.iki.fi Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent b191a18 commit 858a74c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/usb/gadget/udc/omap_udc.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2036,7 +2036,8 @@ static irqreturn_t omap_udc_iso_irq(int irq, void *_dev)
20362036

20372037
static inline int machine_without_vbus_sense(void)
20382038
{
2039-
return machine_is_omap_osk() || machine_is_sx1();
2039+
return machine_is_omap_osk() || machine_is_omap_palmte() ||
2040+
machine_is_sx1();
20402041
}
20412042

20422043
static int omap_udc_start(struct usb_gadget *g,

0 commit comments

Comments
 (0)