This is an automatic generated email to let you know that the following patch 
were queued:

Subject: media: Revert "media: em28xx: add missing em28xx_close_extension"
Author:  Pavel Skripkin <[email protected]>
Date:    Thu Jan 20 20:37:30 2022 +0100

This reverts commit 2c98b8a3458df03abdc6945bbef67ef91d181938.

Reverted patch causes problems with Hauppauge WinTV dualHD as Maximilian
reported [1]. Since quick solution didn't come up let's just revert it
to make this device work with upstream kernels.

Link: 
https://lore.kernel.org/all/[email protected]/ [1]

Reported-by: Maximilian Böhm <[email protected]>
Tested-by: Maximilian Böhm <[email protected]>
Signed-off-by: Pavel Skripkin <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 drivers/media/usb/em28xx/em28xx-cards.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

---

diff --git a/drivers/media/usb/em28xx/em28xx-cards.c 
b/drivers/media/usb/em28xx/em28xx-cards.c
index b451ce3cb169..4a46ef50baf9 100644
--- a/drivers/media/usb/em28xx/em28xx-cards.c
+++ b/drivers/media/usb/em28xx/em28xx-cards.c
@@ -4150,11 +4150,8 @@ static void em28xx_usb_disconnect(struct usb_interface 
*intf)
 
        em28xx_close_extension(dev);
 
-       if (dev->dev_next) {
-               em28xx_close_extension(dev->dev_next);
+       if (dev->dev_next)
                em28xx_release_resources(dev->dev_next);
-       }
-
        em28xx_release_resources(dev);
 
        if (dev->dev_next) {

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

Reply via email to