speedtch speedtch.c,1.49,1.50

Roman Kagan rkagan at mail.ru
Fri Apr 22 04:25:48 EDT 2005

On Fri, Apr 22, 2005 at 08:50:05AM +0100, Duncan Sands wrote:
> Modified Files:
> 	speedtch.c 
> Log Message:
> Restore line polling, with a simple throttling mechanism.  Untested.

AFAICS struct work_struct already includes a timer, and
linux/workqueue.h provides schedule_delayed_work() /
cancel_rearming_delayed_work() to use it, so we can switch to using
those instead of maintaining our own timer.  I'm about to do just that
to cxacru.

BTW what do you think about using our own workqueue?  I guess keventd
won't tolerate suspending for two seconds, as is possible with current
status polling routines both in speedtch and cxacru, which you've
pointed out some time ago.


More information about the Usbatm mailing list