Loading drivers/mfd/ucb1x00-ts.c +1 −10 Original line number Original line Diff line number Diff line Loading @@ -208,16 +208,7 @@ static int ucb1x00_thread(void *_ts) struct ucb1x00_ts *ts = _ts; struct ucb1x00_ts *ts = _ts; struct task_struct *tsk = current; struct task_struct *tsk = current; DECLARE_WAITQUEUE(wait, tsk); DECLARE_WAITQUEUE(wait, tsk); int valid; int valid = 0; /* * We could run as a real-time thread. However, thus far * this doesn't seem to be necessary. */ // tsk->policy = SCHED_FIFO; // tsk->rt_priority = 1; valid = 0; add_wait_queue(&ts->irq_wait, &wait); add_wait_queue(&ts->irq_wait, &wait); while (!kthread_should_stop()) { while (!kthread_should_stop()) { Loading Loading
drivers/mfd/ucb1x00-ts.c +1 −10 Original line number Original line Diff line number Diff line Loading @@ -208,16 +208,7 @@ static int ucb1x00_thread(void *_ts) struct ucb1x00_ts *ts = _ts; struct ucb1x00_ts *ts = _ts; struct task_struct *tsk = current; struct task_struct *tsk = current; DECLARE_WAITQUEUE(wait, tsk); DECLARE_WAITQUEUE(wait, tsk); int valid; int valid = 0; /* * We could run as a real-time thread. However, thus far * this doesn't seem to be necessary. */ // tsk->policy = SCHED_FIFO; // tsk->rt_priority = 1; valid = 0; add_wait_queue(&ts->irq_wait, &wait); add_wait_queue(&ts->irq_wait, &wait); while (!kthread_should_stop()) { while (!kthread_should_stop()) { Loading