mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
Input: tsc2007 - add poll_period parameter to platform data
This new parameter allows the polling frequency to be configured while keeping the default of once every millisecond. Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
parent
2d137c7ed2
commit
1af38eac8c
2 changed files with 4 additions and 3 deletions
|
@ -9,6 +9,7 @@ struct tsc2007_platform_data {
|
|||
u16 max_rt; /* max. resistance above which samples are ignored */
|
||||
unsigned long poll_delay; /* delay (in ms) after pen-down event
|
||||
before polling starts */
|
||||
unsigned long poll_period; /* time (in ms) between samples */
|
||||
|
||||
int (*get_pendown_state)(void);
|
||||
void (*clear_penirq)(void); /* If needed, clear 2nd level
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue