Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=a39a8ed7beaafe02ce154dfd227f7d734a9f34dc
Commit:     a39a8ed7beaafe02ce154dfd227f7d734a9f34dc
Parent:     415a1975923722f729211a9efca550c60c519bf3
Author:     Marco Schluessler <[EMAIL PROTECTED]>
AuthorDate: Tue Oct 16 08:25:42 2007 -0300
Committer:  Mauro Carvalho Chehab <[EMAIL PROTECTED]>
CommitDate: Mon Oct 22 12:01:50 2007 -0200

    V4L/DVB (6356): "while (!ca->wakeup)" breaks the CAM initialisation
    
    Signed-off-by: Marco Schluessler <[EMAIL PROTECTED]>
    Signed-off-by: Oliver Endriss <[EMAIL PROTECTED]>
    Signed-off-by: Mauro Carvalho Chehab <[EMAIL PROTECTED]>
---
 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 084a508..89437fd 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())
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to