aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ucb1400.h
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2012-01-05 01:18:42 -0500
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2012-01-05 01:19:55 -0500
commitc899afedf168b6735911997d8366b7f23e7e59bc (patch)
treec8160d82bc0b70e9faa661fa5749fe64ca10e821 /include/linux/ucb1400.h
parent75072323a2968c1bd1b74a48ebf5a5d7e5e10183 (diff)
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.h6
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 {
96 96
97struct ucb1400_ts { 97struct ucb1400_ts {
98 struct input_dev *ts_idev; 98 struct input_dev *ts_idev;
99 struct task_struct *ts_task;
100 int id; 99 int id;
101 wait_queue_head_t ts_wait;
102 unsigned int ts_restart:1;
103 int irq; 100 int irq;
104 unsigned int irq_pending; /* not bit field shared */
105 struct snd_ac97 *ac97; 101 struct snd_ac97 *ac97;
102 wait_queue_head_t ts_wait;
103 bool stopped;
106}; 104};
107 105
108struct ucb1400 { 106struct ucb1400 {