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

Subject: [media] em28xx: Fix em28xx_devused cleanup logic on error
Author:  Chris Rankin <[email protected]>
Date:    Sun Sep 4 15:26:21 2011 -0300

On 04/09/11 00:49, Mauro Carvalho Chehab wrote:
> This is an automatic generated email to let you know that the following patch 
> were queued at the
> http://git.linuxtv.org/media_tree.git tree:
>
> Subject: [media] em28xx: use atomic bit operations for devices-in-use mask
> Author:  Chris Rankin<[email protected]>
> Date:    Sat Aug 20 08:21:03 2011 -0300
>
> Use atomic bit operations for the em28xx_devused mask, to prevent an
> unlikely race condition should two adapters be plugged in
> simultaneously. The operations also clearer than explicit bit
> manipulation anyway.
>
> Signed-off-by: Chris Rankin<[email protected]>
> Signed-off-by: Mauro Carvalho Chehab<[email protected]>
>
>   drivers/media/video/em28xx/em28xx-cards.c |   33 
> ++++++++++++++---------------

I think you missed this line in the merge.

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

 drivers/media/video/em28xx/em28xx-cards.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

---

http://git.linuxtv.org/media_tree.git?a=commitdiff;h=9da9f356dc73c2ae65a15a1c1d6e53142706e96b

diff --git a/drivers/media/video/em28xx/em28xx-cards.c 
b/drivers/media/video/em28xx/em28xx-cards.c
index 4bdf2d0..7425f92 100644
--- a/drivers/media/video/em28xx/em28xx-cards.c
+++ b/drivers/media/video/em28xx/em28xx-cards.c
@@ -3114,7 +3114,6 @@ static int em28xx_usb_probe(struct usb_interface 
*interface,
                                em28xx_err(DRIVER_NAME " This is an anciliary "
                                        "interface not used by the driver\n");
 
-                               em28xx_devused &= ~(1<<nr);
                                retval = -ENODEV;
                                goto err;
                        }

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

Reply via email to