diff options
Diffstat (limited to 'drivers/input/touchscreen/ucb1400_ts.c')
-rw-r--r-- | drivers/input/touchscreen/ucb1400_ts.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/input/touchscreen/ucb1400_ts.c b/drivers/input/touchscreen/ucb1400_ts.c index 36f944019158..86aed64ec0fb 100644 --- a/drivers/input/touchscreen/ucb1400_ts.c +++ b/drivers/input/touchscreen/ucb1400_ts.c | |||
@@ -130,8 +130,7 @@ static unsigned int ucb1400_adc_read(struct ucb1400 *ucb, u16 adc_channel) | |||
130 | if (val & UCB_ADC_DAT_VALID) | 130 | if (val & UCB_ADC_DAT_VALID) |
131 | break; | 131 | break; |
132 | /* yield to other processes */ | 132 | /* yield to other processes */ |
133 | set_current_state(TASK_INTERRUPTIBLE); | 133 | schedule_timeout_uninterruptible(1); |
134 | schedule_timeout(1); | ||
135 | } | 134 | } |
136 | 135 | ||
137 | return UCB_ADC_DAT_VALUE(val); | 136 | return UCB_ADC_DAT_VALUE(val); |