diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-01-04 22:18:42 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-01-04 22:19:55 -0800 |
commit | c899afedf168b6735911997d8366b7f23e7e59bc (patch) | |
tree | c8160d82bc0b70e9faa661fa5749fe64ca10e821 /include/linux/ucb1400.h | |
parent | 75072323a2968c1bd1b74a48ebf5a5d7e5e10183 (diff) | |
download | linux-c899afedf168b6735911997d8366b7f23e7e59bc.tar.gz linux-c899afedf168b6735911997d8366b7f23e7e59bc.tar.bz2 linux-c899afedf168b6735911997d8366b7f23e7e59bc.zip |
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>
Diffstat (limited to 'include/linux/ucb1400.h')
-rw-r--r-- | include/linux/ucb1400.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/linux/ucb1400.h b/include/linux/ucb1400.h index 5c75153f9441..d21b33c4c6ca 100644 --- a/include/linux/ucb1400.h +++ b/include/linux/ucb1400.h @@ -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 { |