diff options
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r-- | drivers/media/dvb/dvb-core/dvb_ca_en50221.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-core/dvb_ca_en50221.c b/drivers/media/dvb/dvb-core/dvb_ca_en50221.c index 084a508a03da..89437fdab8be 100644 --- a/drivers/media/dvb/dvb-core/dvb_ca_en50221.c +++ b/drivers/media/dvb/dvb-core/dvb_ca_en50221.c | |||
@@ -972,7 +972,7 @@ static int dvb_ca_en50221_thread(void *data) | |||
972 | /* main loop */ | 972 | /* main loop */ |
973 | while (!kthread_should_stop()) { | 973 | while (!kthread_should_stop()) { |
974 | /* sleep for a bit */ | 974 | /* sleep for a bit */ |
975 | while (!ca->wakeup) { | 975 | if (!ca->wakeup) { |
976 | set_current_state(TASK_INTERRUPTIBLE); | 976 | set_current_state(TASK_INTERRUPTIBLE); |
977 | schedule_timeout(ca->delay); | 977 | schedule_timeout(ca->delay); |
978 | if (kthread_should_stop()) | 978 | if (kthread_should_stop()) |