Skip to contentSkip to conversation

Usb generic serial.

DISCUSSION Paul Chavent 2 participants 2 messages Jan 10, 2008 – Jan 24, 2008

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw
Quoted 8 lines · Paul Chavent

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 ?

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