aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/dvb-core/dvb_ca_en50221.c
diff options
context:
space:
mode:
authorMarco Schluessler <marco@lordzodiac.de>2007-10-16 08:25:42 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-10-22 12:01:50 -0200
commita39a8ed7beaafe02ce154dfd227f7d734a9f34dc (patch)
tree3818ffcafd0d3f2aae2c4b3cd0f4ae509bf08309 /drivers/media/dvb/dvb-core/dvb_ca_en50221.c
parentV4L/DVB (6352): ir-kbd-i2c: Missing break statement (diff)
downloadlinux-dev-a39a8ed7beaafe02ce154dfd227f7d734a9f34dc.tar.xz
linux-dev-a39a8ed7beaafe02ce154dfd227f7d734a9f34dc.zip
V4L/DVB (6356): "while (!ca->wakeup)" breaks the CAM initialisation
Signed-off-by: Marco Schluessler <marco@lordzodiac.de> Signed-off-by: Oliver Endriss <o.endriss@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/dvb-core/dvb_ca_en50221.c')
-rw-r--r--drivers/media/dvb/dvb-core/dvb_ca_en50221.c2
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)
/* main loop */
while (!kthread_should_stop()) {
/* sleep for a bit */
- while (!ca->wakeup) {
+ if (!ca->wakeup) {
set_current_state(TASK_INTERRUPTIBLE);
schedule_timeout(ca->delay);
if (kthread_should_stop())