linux-stable/drivers/usb/gadget
Colin Ian King 2ca629b90d usb: gadget: net2272: Use irqflags in the call to net2272_probe_fin
[ Upstream commit 600556809f ]

Currently the variable irqflags is being set but is not being used,
it appears it should be used in the call to net2272_probe_fin
rather than IRQF_TRIGGER_LOW being used. Kudos to Uwe Kleine-König
for suggesting the fix.

Cleans up clang scan build warning:
drivers/usb/gadget/udc/net2272.c:2610:15: warning: variable 'irqflags'
set but not used [-Wunused-but-set-variable]

Fixes: ceb80363b2 ("USB: net2272: driver for PLX NET2272 USB device controller")
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Link: https://lore.kernel.org/r/20240307181734.2034407-1-colin.i.king@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-03-26 18:20:58 -04:00
..
function usb: gadget: ncm: Avoid dropping datagrams of properly parsed NTBs 2024-03-01 13:26:34 +01:00
legacy usb: raw-gadget: properly handle interrupted requests 2023-11-08 14:11:03 +01:00
udc usb: gadget: net2272: Use irqflags in the call to net2272_probe_fin 2024-03-26 18:20:58 -04:00
composite.c usb: gadget: Properly configure the device for remote wakeup 2024-03-06 14:45:05 +00:00
config.c
configfs.c usb: gadget: Properly configure the device for remote wakeup 2024-03-06 14:45:05 +00:00
configfs.h
epautoconf.c
functions.c
Kconfig
Makefile
u_f.c
u_f.h
u_os_desc.h
usbstring.c