Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp511143pxy; Wed, 21 Apr 2021 08:13:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw/QqWAtH9yqXQlaPfbD+P0V/Vlm7ZAE8B4MYXyzrj/+yy12zjS03yFDX+ZXC72oHDhwnAa X-Received: by 2002:a05:6a00:a95:b029:25c:eb77:723a with SMTP id b21-20020a056a000a95b029025ceb77723amr19623786pfl.23.1619018012829; Wed, 21 Apr 2021 08:13:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619018012; cv=none; d=google.com; s=arc-20160816; b=Hnj0essLjjhEuzlHFqidiuMH/mtSQy4M3hysqr5AsyHexdCSnfMb7ginj/X1UG0rhD NZ/U6KwXmkbq97X6j5ao03L6YnfaUFf7I+KTxRgfHWPfCSt8KAtPYuRiW6kbg6BVBO8B /VDMsW8ZAPQM//RbDtua8HEM/oa9ik+XgRaBgLp1hLgdamUapfjD27ie0rgkpp1QrgoZ GYSfd2h8dqJNfvo3D71Du3OWyQ0Gpqqg4GO8YIUpFmSGSqtFcgVVT9LbglcvlheP0wj6 v/CexieAfVyPDgtRUTEOR6XU2feBKXTJfJcTPBFaEsJhBGOwwNqC/sm5zRtEcoGRqVnu a00Q== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=TQRcbWRY3mp+eHYVdMlK5IbAFN7hN30xThSCBT/oQo8=; b=vN3VIpiFcOzEsVuhFP+6NNGS3Iyetyklwgv3uOODu01GVNk4jBVaS1EQ/VMHPKEyTM twZh1c90wXJ4itEYtyaTb5sFZIXOBnIlegf7K2zuLIkAt5I7PtghY5k7kmdzqVk/dazr S9pi3mvv3BzGJ8nyc3z87W0qjoYFEtQV7HzQ8SgFNJuWKAh9UwBDhDWgcNh88NR0cFDe Q+rlXmFsXp1vVrkghGuJe8w5JI8XQBRvo1I83GNmXhMTy0BJLK8jeEMtlFViokGWCNN8 EXpwGyZN6dr1uDLaGekLEY/JHs4Mcm5EH2dp62Ehk410naVJHfNeFbkrDN/zP8DlUzZx xLlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ZiESlzET; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w19si2678511pgi.580.2021.04.21.08.13.20; Wed, 21 Apr 2021 08:13:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=ZiESlzET; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S238011AbhDUNFQ (ORCPT + 99 others); Wed, 21 Apr 2021 09:05:16 -0400 Received: from mail.kernel.org ([198.145.29.99]:43838 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240548AbhDUNEW (ORCPT ); Wed, 21 Apr 2021 09:04:22 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 57A706143C; Wed, 21 Apr 2021 13:03:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1619010229; bh=MpMoVO4edAnODvbDGtRci7R1TicF3Kz/2VQW7XI8lgc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZiESlzETpnNQlN+YAwC7D7NsCoubWWWZhiVm2STjCGYnGnq62yiK5Rh90IGmXdXsb UsXXG4QGS0eHMEQtShZ+cIukNdLg4kGqsvZTikO3RwzdBotAIP7Fp5rIpMgoYcuzLE drMa+c2ZNgHyG1IC6rwgcrE2BBakvYzardKAHwAc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , Qiushi Wu , Mark Brown Subject: [PATCH 032/190] Revert "ASoC: img-parallel-out: Fix a reference count leak" Date: Wed, 21 Apr 2021 14:58:27 +0200 Message-Id: <20210421130105.1226686-33-gregkh@linuxfoundation.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210421130105.1226686-1-gregkh@linuxfoundation.org> References: <20210421130105.1226686-1-gregkh@linuxfoundation.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This reverts commit 6b9fbb073636906eee9fe4d4c05a4f445b9e2a23. Commits from @umn.edu addresses have been found to be submitted in "bad faith" to try to test the kernel community's ability to review "known malicious" changes. The result of these submissions can be found in a paper published at the 42nd IEEE Symposium on Security and Privacy entitled, "Open Source Insecurity: Stealthily Introducing Vulnerabilities via Hypocrite Commits" written by Qiushi Wu (University of Minnesota) and Kangjie Lu (University of Minnesota). Because of this, all submissions from this group must be reverted from the kernel tree and will need to be re-reviewed again to determine if they actually are a valid fix. Until that work is complete, remove this change to ensure that no problems are being introduced into the codebase. Cc: Qiushi Wu Cc: https Cc: Mark Brown Signed-off-by: Greg Kroah-Hartman --- sound/soc/img/img-parallel-out.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sound/soc/img/img-parallel-out.c b/sound/soc/img/img-parallel-out.c index 4da49a42e854..5ddbe3a31c2e 100644 --- a/sound/soc/img/img-parallel-out.c +++ b/sound/soc/img/img-parallel-out.c @@ -163,10 +163,8 @@ static int img_prl_out_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) } ret = pm_runtime_get_sync(prl->dev); - if (ret < 0) { - pm_runtime_put_noidle(prl->dev); + if (ret < 0) return ret; - } reg = img_prl_out_readl(prl, IMG_PRL_OUT_CTL); reg = (reg & ~IMG_PRL_OUT_CTL_EDGE_MASK) | control_set; -- 2.31.1