aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/sbus/char/bpp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/sbus/char/bpp.c')
-rw-r--r--drivers/sbus/char/bpp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/sbus/char/bpp.c b/drivers/sbus/char/bpp.c
index 87302fb14885..ccb20a6f5f36 100644
--- a/drivers/sbus/char/bpp.c
+++ b/drivers/sbus/char/bpp.c
@@ -295,8 +295,7 @@ static unsigned short get_pins(unsigned minor)
295 295
296static void snooze(unsigned long snooze_time, unsigned minor) 296static void snooze(unsigned long snooze_time, unsigned minor)
297{ 297{
298 set_current_state(TASK_UNINTERRUPTIBLE); 298 schedule_timeout_uninterruptible(snooze_time + 1);
299 schedule_timeout(snooze_time + 1);
300} 299}
301 300
302static int wait_for(unsigned short set, unsigned short clr, 301static int wait_for(unsigned short set, unsigned short clr,