mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Usb generic serial.
@ 2008-01-10 12:29 Paul Chavent
  2008-01-24  1:43 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Chavent @ 2008-01-10 12:29 UTC (permalink / raw)
  To: linux-kernel

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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Usb generic serial.
  2008-01-10 12:29 Usb generic serial Paul Chavent
@ 2008-01-24  1:43 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2008-01-24  1:43 UTC (permalink / raw)
  To: Paul Chavent; +Cc: linux-kernel

On Thu, Jan 10, 2008 at 01:29:27PM +0100, Paul Chavent wrote:
> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-01-24  1:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-10 12:29 Usb generic serial Paul Chavent
2008-01-24  1:43 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®