Usb generic serial.
Hello and happy new year 2008.
In drivers/usb/serial/usb-serial.c there is a function (fixup_generic / set_to_generic_if_null) that hooks null fops to the generic driver ones.
The drivers/usb/serial/generic.c implements throttle, unthrottle and resume, but those aren't used by default in fixup_generic. Is there any reasons ? Could we submit a patch for that ?
Thank you for your help.
Quoted 8 lines · Paul Chavent
Hello and happy new year 2008.
In
drivers/usb/serial/usb-serial.cthere is a function (fixup_generic/set_to_generic_if_null) that hooks null fops to the generic driver ones.The
drivers/usb/serial/generic.cimplements throttle, unthrottle and resume, but those aren't used by default infixup_generic. Is there any reasons ? Could we submit a patch for that ?
Do you have a driver that needs to use these throttle/unthrottle and resume functions? If so, we can change things to use them, but so far, it hasn't been needed.
thanks,
greg k-h