Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp952858pxb; Wed, 6 Apr 2022 05:11:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzb6hoGX2J/f08p+iUmfJwwBM0Bt0C7N5TgJXgjgXnPGq9LLl5pjTTUIk4Be0N61JRmoAVL X-Received: by 2002:a05:6a00:a8b:b0:4e1:52db:9e5c with SMTP id b11-20020a056a000a8b00b004e152db9e5cmr8632427pfl.38.1649247101217; Wed, 06 Apr 2022 05:11:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649247101; cv=none; d=google.com; s=arc-20160816; b=xIKmgOhoA46Quj1W43wN3CETm+7HTFT1abGMG4o6XEaxJoeG5JhQnq+AAagklJspbb BlQQob8djK8A2uCMBqpN3SMUvm8pqMyiXN53fshQhv7W09XC/WrD4PbILoLNgJbzuul8 OnwOBSGVu3f/XGPguz3t8pDeQKcsaHhDqBEjp52MX0cYEz86vQZD4+wiK6a24DfRuWnA HM7jkqwzymtpQ1qPEtyyHsFRRYdR5h19SKQYqleWzwQw6qvKBk6PosFQeHzwWSXvzv+S i1DiIAQ4ney5Abuk1/rfdt/jagB28eXh4hTAnkC01TThbRggByQb2GOT8LvlNKFrANAO xB+g== 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=Ew/hiQq7mZyhXrHm4GPW14FfqFa0t+5P+uids6kK6f4=; b=bpBWRo0tfa9rIxTskgxYP98+yAawN8CF8j5gLR/Ch7nqLd/mZZ0g9sEfz6QPrBfzcD ChJ8VkAfXBxuiuNJYMrTgbZYw6pUcF2L94iryUzi4w7WKT/x2ut0mWMRn009f15QUpuI KpWVl4wfvAdic5IBwhXeAOb6Af5KjNovMG+5iCjjr80iV/XFOm4bDQOtLAxfOkE4oar/ VKjtHnYkeH72VnVJ129zVf0HS14/YuMuGknK4HPKlgEgMfo2IgLO5qXG04BcBmCv+A8N 6O/Y6gAlAVCp2MsB15wPkzk0X994sMv+kD7efC+APtSEum8HlF+2StQyrq+iDoWWJsVb wqyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="T/3Un8Qi"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id bf11-20020a170902b90b00b00153b2d1643csi14625839plb.68.2022.04.06.05.11.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 05:11:41 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="T/3Un8Qi"; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A5A086A432C; Wed, 6 Apr 2022 03:48:45 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349799AbiDEVEe (ORCPT + 99 others); Tue, 5 Apr 2022 17:04:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352525AbiDEKEl (ORCPT ); Tue, 5 Apr 2022 06:04:41 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB7B4BB083; Tue, 5 Apr 2022 02:53:22 -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 8B317B81B13; Tue, 5 Apr 2022 09:53:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ECB4FC385A2; Tue, 5 Apr 2022 09:53:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649152400; bh=fYxqgkCp60B50lWuU8l5QxRpvkKdNlJ9yR0c897f6Jw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=T/3Un8Qis2Si3FaPWuUdTm1G7gVBoiwrF3nOEPuPcBY2kwLLZ2P6orZd8kSJ11y5W Lnl56q0DXBhlPynSMDHPR5w1yiKuDt134r6A4WGKrwtxMcXPek3Zy+qXE7NbeQ+u53 BYaQdQq7Ms3MN75WH8xJBaYLaknGvNBKoVTtghfw= 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.15 763/913] media: Revert "media: em28xx: add missing em28xx_close_extension" Date: Tue, 5 Apr 2022 09:30:25 +0200 Message-Id: <20220405070402.703015610@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220405070339.801210740@linuxfoundation.org> References: <20220405070339.801210740@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=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 c415b1d195c4..92d867fc519c 100644 --- a/drivers/media/usb/em28xx/em28xx-cards.c +++ b/drivers/media/usb/em28xx/em28xx-cards.c @@ -4145,11 +4145,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