linux/drivers/usb/gadget/function
Prashanth K 8e3820271c usb: gadget: f_ecm: Add get_status callback
When host sends GET_STATUS to ECM interface, handle the request
from the function driver. Since the interface is wakeup capable,
set the corresponding bit, and set RW bit if the function is
already armed for wakeup by the host.

Cc: stable <stable@kernel.org>
Fixes: 481c225c48 ("usb: gadget: Handle function suspend feature selector")
Signed-off-by: Prashanth K <prashanth.k@oss.qualcomm.com>
Reviewed-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/20250422103231.1954387-2-prashanth.k@oss.qualcomm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-05-01 17:38:41 +02:00
..
Makefile
f_acm.c
f_ecm.c usb: gadget: f_ecm: Add get_status callback 2025-05-01 17:38:41 +02:00
f_eem.c
f_fs.c usb: gadget: f_fs: Remove WARN_ON in functionfs_bind 2024-12-23 18:54:34 +01:00
f_hid.c
f_loopback.c
f_mass_storage.c scsi: usb: Rename the RESERVE and RELEASE constants 2025-02-12 22:20:55 -05:00
f_mass_storage.h
f_midi.c USB: gadget: f_midi: f_midi_complete to call queue_work 2025-02-14 09:24:20 +01:00
f_midi2.c usb: gadget: midi2: Fix interpretation of is_midi1 bits 2024-12-04 16:26:34 +01:00
f_ncm.c usb: gadget: Switch to use hrtimer_setup() 2025-02-18 11:19:02 +01:00
f_obex.c
f_phonet.c
f_printer.c
f_rndis.c
f_serial.c
f_sourcesink.c
f_subset.c
f_tcm.c usb: gadget: f_tcm: Refactor goto check_condition 2024-12-24 08:56:08 +01:00
f_uac1.c
f_uac1_legacy.c
f_uac2.c usb: gadget: f_uac2: Fix incorrect setting of bNumEndpoints 2024-12-23 18:50:28 +01:00
f_uvc.c
f_uvc.h
g_zero.h
ndis.h
rndis.c
rndis.h
storage_common.c
storage_common.h usb: storage: add a macro for the upper limit of max LUN 2024-12-04 16:33:54 +01:00
tcm.h usb: gadget: f_tcm: Stall on invalid CBW 2024-12-24 08:56:07 +01:00
u_audio.c
u_audio.h
u_ecm.h
u_eem.h
u_ether.c usb: gadget: u_ether: Set is_suspend flag if remote wakeup fails 2025-02-19 15:18:41 +01:00
u_ether.h
u_ether_configfs.h
u_fs.h
u_gether.h
u_hid.h
u_midi.h
u_midi2.h
u_ncm.h
u_phonet.h
u_printer.h
u_rndis.h
u_serial.c Revert "usb: gadget: u_serial: Disable ep before setting port to null to fix the crash caused by port being null" 2025-01-17 12:41:16 +01:00
u_serial.h
u_tcm.h
u_uac1.h
u_uac1_legacy.c
u_uac1_legacy.h
u_uac2.h
u_uvc.h
uac_common.h
uvc.h
uvc_configfs.c
uvc_configfs.h
uvc_queue.c usb: gadget: uvc: drop vb2_ops_wait_prepare/finish 2025-02-03 16:28:42 +01:00
uvc_queue.h
uvc_trace.c
uvc_trace.h
uvc_v4l2.c
uvc_v4l2.h
uvc_video.c usb: gadget: uvc: Fix unstarted kthread worker 2025-02-14 09:26:00 +01:00
uvc_video.h