mbox series

[0/2] usb: gadget: f_fs: restore ffs_func_disable() functionality

Message ID 20240802140428.2000312-1-tudor.ambarus@linaro.org (mailing list archive)
Headers show
Series usb: gadget: f_fs: restore ffs_func_disable() functionality | expand

Message

Tudor Ambarus Aug. 2, 2024, 2:04 p.m. UTC
ffs_func_disable() always returned -EINVAL and made pixel6 crash on USB
disconnect. Restore ffs_func_disable() functionality.

Tudor Ambarus (2):
  usb: gadget: f_fs: restore ffs_func_disable() functionality
  usb: gadget: f_fs: pull out f->disable() from ffs_func_set_alt()

 drivers/usb/gadget/function/f_fs.c | 32 +++++++++++++++++++-----------
 1 file changed, 20 insertions(+), 12 deletions(-)