This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/cgit.cgi/media_tree.git tree:

Subject: [media] cx231xx: Use wake_up_interruptible() instead of 
wake_up_interruptible_nr()
Author:  Steven Rostedt <[email protected]>
Date:    Thu Aug 20 18:03:43 2015 -0300

While looking at use cases of the wake queues in order to add support
for simple wait queues, I noticed that there was only a single user of
wake_up_interruptible_nr(), and that use was doing a single task wake
up. Have that user use the proper wake_up_interruptible() instead, and
perhaps we can even remove the function wake_up_interruptible_nr().

Signed-off-by: Steven Rostedt <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 drivers/media/usb/cx231xx/cx231xx-video.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

---

http://git.linuxtv.org/cgit.cgi/media_tree.git/commit/?id=543409a2475de00d336468eee5bba8409092db16

diff --git a/drivers/media/usb/cx231xx/cx231xx-video.c 
b/drivers/media/usb/cx231xx/cx231xx-video.c
index c6ff896..9798160 100644
--- a/drivers/media/usb/cx231xx/cx231xx-video.c
+++ b/drivers/media/usb/cx231xx/cx231xx-video.c
@@ -1875,7 +1875,7 @@ static int cx231xx_close(struct file *filp)
                        v4l2_fh_exit(&fh->fh);
                        kfree(fh);
                        dev->users--;
-                       wake_up_interruptible_nr(&dev->open, 1);
+                       wake_up_interruptible(&dev->open);
                        return 0;
                }
 
@@ -1908,7 +1908,7 @@ static int cx231xx_close(struct file *filp)
        }
        v4l2_fh_exit(&fh->fh);
        kfree(fh);
-       wake_up_interruptible_nr(&dev->open, 1);
+       wake_up_interruptible(&dev->open);
        return 0;
 }
 

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to