All of lore.kernel.org
 help / color / mirror / Atom feed
* Poll rate change and closing indication to polled input device
@ 2009-10-09 12:02 Onkalo Samu
  2009-10-09 12:12 ` Mark Brown
  0 siblings, 1 reply; 6+ messages in thread
From: Onkalo Samu @ 2009-10-09 12:02 UTC (permalink / raw)
  To: linux-input

Hi

I would like to change the polling rate of the polled input device
on the fly depending on the use case. One possible way is to directly
modify poll_interval from my driver. However, I would like to introduce
functions which can be used to set / get polling rate like 

input_polled_device_set_rate(...)

input_polled_device_get_rate(...)

Another missing thing is an indication when the polled device is closed.
This can be used to turn off the HW which is not used anymore.

What do you think, is it ok to introduce these additions to the polled
input device?

-Samu Onkalo



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

end of thread, other threads:[~2009-10-13  9:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-09 12:02 Poll rate change and closing indication to polled input device Onkalo Samu
2009-10-09 12:12 ` Mark Brown
2009-10-09 16:27   ` Dmitry Torokhov
2009-10-09 18:10     ` Mark Brown
2009-10-13  1:08       ` Dmitry Torokhov
2009-10-13  9:19         ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.