mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
Input: ucb1400_ts - convert to threaded IRQ
Instead of manually create and handler kernel thread switch to threaded IRQ and let kernel IRQ core manage thread for us. Acked-by: Marek Vasut <marek.vasut@gmail.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
parent
75072323a2
commit
c899afedf1
2 changed files with 115 additions and 126 deletions
|
@ -96,13 +96,11 @@ struct ucb1400_gpio {
|
|||
|
||||
struct ucb1400_ts {
|
||||
struct input_dev *ts_idev;
|
||||
struct task_struct *ts_task;
|
||||
int id;
|
||||
wait_queue_head_t ts_wait;
|
||||
unsigned int ts_restart:1;
|
||||
int irq;
|
||||
unsigned int irq_pending; /* not bit field shared */
|
||||
struct snd_ac97 *ac97;
|
||||
wait_queue_head_t ts_wait;
|
||||
bool stopped;
|
||||
};
|
||||
|
||||
struct ucb1400 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue