]> www.infradead.org Git - users/willy/linux.git/commit
usb: gadget: u_serial: add .get_icount() support
authorMichael Walle <mwalle@kernel.org>
Tue, 30 Jul 2024 19:38:40 +0000 (21:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Jul 2024 08:42:13 +0000 (10:42 +0200)
commit4e33059ed59796eab07405f5effbb33bb4b3318f
tree0464e59fee7549f740b2f8ad8cac9dfbdc75c577
parentacabfb1b79802e8a7fc17c7f73271e2250fead0c
usb: gadget: u_serial: add .get_icount() support

Add icount support for the transmitting and receiving characters. This
will make the tty LED trigger work with the ttyGS devices.

Signed-off-by: Michael Walle <mwalle@kernel.org>
Link: https://lore.kernel.org/r/20240730193840.2580358-1-mwalle@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/function/u_serial.c