Commit fde18c3b authored by Pavel Skripkin's avatar Pavel Skripkin Committed by Mauro Carvalho Chehab

media: Revert "media: em28xx: add missing em28xx_close_extension"

This reverts commit 2c98b8a3.

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/6a72a37b-e972-187d-0322-16336e12bdc5@elbmurf.de/ [1]
Reported-by: default avatarMaximilian Böhm <maximilian.boehm@elbmurf.de>
Tested-by: default avatarMaximilian Böhm <maximilian.boehm@elbmurf.de>
Signed-off-by: default avatarPavel Skripkin <paskripkin@gmail.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent 22beb839
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment