Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp684548pxb; Tue, 5 Apr 2022 18:42:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzvTZNvagcW8nDJt/QxHkn8Pg8T5STFwR7+7mI65CA1d9w7CYKJQg+QBuKNSS6wlT2Pqw42 X-Received: by 2002:a17:907:3e82:b0:6e1:3fe3:9b14 with SMTP id hs2-20020a1709073e8200b006e13fe39b14mr6072922ejc.561.1649209320320; Tue, 05 Apr 2022 18:42:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649209320; cv=none; d=google.com; s=arc-20160816; b=g5ZPZQSUTF5H8cKs7R19DXH7O6ZW1Dvg7+QOJ4hbo4CjaOweMVIEppTEVk5b6wq9JE Z3Xf1qsjS5XI3iLFsft+xCutG7c8H4kV7KbVW2RTUnGjbTjDkGAuO9XFXi6VwkOlvHRp vHjXQNDO5pKjHsTmL7zND6d4MD0S8lov4CC3W/7gi6ywU52pXGZZubfOAS/ZGGBzQzna zFGjDWKMgrL679In3byXyTwsXkOgtAgxuKOlyMa2rO3JUwhowQKC9QBTeXZfIvxNxI+u +AobbOtIyIkSIVuo2bQCTtC9xLg7wBcypL7WHExGwMJKHheN4jWJ3qrf9cI47+5hiG7M 526g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=q1qlwWz0zn9jB1IQU5Ut49X3olynkHO4t5MnAqsF98E=; b=sLV5824femjb6ilAa1yWpasjheQ4ljhBP/RZxaQE0Xdxq8C2fF0H1BJCjMZJuLO4Wk 2g31mXFESanAwkaqRSCddM8r7oQbijcYoEXODfitkjPNYlKSlW7drAbCLkDsAHUKfl5i zakfZWzKn1KYrxNynHro/js6iS748UbWG+hmyY945vTODzSqivXz3GFeU5GrwZl9lxFw uAS6d2O87pYRM3kQKTILvQJgYJ5pFpxLDm4mvSI5sFvQPDmbr9/qK8dmqD4jfCdHAKUj BrBMa9/hm2PXwqRyG8wyaIsOD+msRAwPqt6IdNiKiA3e1siUDWIcnAuDJWRO7SBL2v1b t/hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Jgn4sJdc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s15-20020a170906bc4f00b006e7f911a566si4644495ejv.720.2022.04.05.18.41.35; Tue, 05 Apr 2022 18:42:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Jgn4sJdc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355645AbiDEN3F (ORCPT + 99 others); Tue, 5 Apr 2022 09:29:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345262AbiDEJWX (ORCPT ); Tue, 5 Apr 2022 05:22:23 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78CB03F8B7; Tue, 5 Apr 2022 02:10:01 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 2E77FB81A22; Tue, 5 Apr 2022 09:10:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8038EC385A2; Tue, 5 Apr 2022 09:09:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649149798; bh=Cah0xlxi9vX/JXqn6RvksIYmQRGk5+CJsMN43zZ9Jn4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Jgn4sJdczJ9fV/yjdFXrbYAiDJurA5XtG+nsbNjwk6+bGhjAK7mD/XJNe0GdwDyAK YCVCfhhoB3Hsrj3yp6HVvioEQsUjAQpQ17h0JMcfxhOrJOvhHHpG73GjshMTSjLlGU y3VYlD8J5o5GKW3p9TzEJs/teih9h2c/lUB/+M5o= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, =?UTF-8?q?Maximilian=20B=C3=B6hm?= , Pavel Skripkin , Hans Verkuil , Mauro Carvalho Chehab , Sasha Levin Subject: [PATCH 5.16 0846/1017] media: Revert "media: em28xx: add missing em28xx_close_extension" Date: Tue, 5 Apr 2022 09:29:19 +0200 Message-Id: <20220405070419.352052052@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220405070354.155796697@linuxfoundation.org> References: <20220405070354.155796697@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Pavel Skripkin [ Upstream commit fde18c3bac3f964d8333ae53b304d8fee430502b ] 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/6a72a37b-e972-187d-0322-16336e12bdc5@elbmurf.de/ [1] Reported-by: Maximilian Böhm Tested-by: Maximilian Böhm Signed-off-by: Pavel Skripkin Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Sasha Levin --- 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 f3b56c065ee1..ae25d2cbfdfe 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) { -- 2.34.1