Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp492595ybt; Wed, 17 Jun 2020 06:32:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzoC+YG+VWNnahebMbNu0/ipQbtDAQL4Q+27zK3oiSULnQLuqMAQEaTlrdQpkaALsAW6bSu X-Received: by 2002:a17:906:fb19:: with SMTP id lz25mr7866786ejb.349.1592400772068; Wed, 17 Jun 2020 06:32:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592400772; cv=none; d=google.com; s=arc-20160816; b=Evt9r6EIQv371YgON7Y05cQ6z6Ff6D1tfoBgsK2FU9+Er6bXLV8rPXxy6UBuwiRa9n HdBWKAO682XN64rRkdeCIqXD6JXm5MBUYk7yOGMcT+LA6bHBgyQ3u6N3zeiXQN5ISb63 0CJnCjL4gY+G4mkiN9XM2HeZOSitEuYihjKZHXgWJ6nV3BzVSNo+b6G8oYZq2YJVK8ZI 8fK4zXmoe+Z19VhiZ1116I5H/WFYnhR8+nra8Crv7eUPOLZ6qsJnhQ7bI4IQgw6IXXTS Hot4mD55Gs2DFf6tNSqfEGi0WSqufrfajAH2ycQsCWFeisEognB2ZGdZK7wZuj0tnzmh QtsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:subject:references:in-reply-to :cc:to:from:date:dkim-signature; bh=WZ/LW1NEPnzQr5x5cplayXHx5MFMJaEy325pzspI4oI=; b=ytK5cz6l/IF0vuMEExA96MCbmy473fotZPJ2N4rof2D8ZH0H2MPS6A3jfUBuOji/U9 S7JpytCPQInbe3+LuhuoWxLsZxSuqZ7oaIrhqPDH138hU6fxwk15jA2xwhVhIgh43AC5 IxWrtY0iEmx5XKlDfjTKkde8iM47fq9hEPuPYTsSvSut7ehGB7KlnM0NFModPTWV3nNL H3lpldpoljhaHic8gcl9pEzjOmNUoXdgnJKAoEFeeb1r32/Ihe1HEKVwAdS8PJmW1id+ bE7t6EwS2q3COx+OSoKDDYkb70UE5+3ong96WZwPQAkExO43+AMDl/3RyLykaSENxLMX XknA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Zj9N3fUT; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dk14si4219edb.0.2020.06.17.06.32.28; Wed, 17 Jun 2020 06:32:52 -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=@kernel.org header.s=default header.b=Zj9N3fUT; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726558AbgFQNak (ORCPT + 99 others); Wed, 17 Jun 2020 09:30:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:37244 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725901AbgFQNak (ORCPT ); Wed, 17 Jun 2020 09:30:40 -0400 Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BE54F207E8; Wed, 17 Jun 2020 13:30:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1592400640; bh=JpusVXzwVNGmBFr4ew9Yb9okQQqrnxdrslbe27VRNV0=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=Zj9N3fUTYBYkYRl19BQ+1gEd15ArOiw8gMfH/K/XW1VQF+c32VYm79ivumvKvpLdy ekuNPJ6Uj9cvS3bsHtfr0yJ+oOuYXMVC5QmqXekcoZIVzxVdx9oLt72A6J/i1fR1ZW 2Mgn9nAJDmLBuortDDVxfQTNkUUSP3YwBwSTyDZM= Date: Wed, 17 Jun 2020 14:30:38 +0100 From: Mark Brown To: "wu000273@umn.edu" , kjlu@umn.edu Cc: Thierry Reding , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Edward Cragg , Ben Dooks , YueHaibing , linux-tegra@vger.kernel.org, Jonathan Hunter , Liam Girdwood , Takashi Iwai In-Reply-To: <20200613204422.24484-1-wu000273@umn.edu> References: <20200613204422.24484-1-wu000273@umn.edu> Subject: Re: [PATCH] ASoC: tegra: Fix reference count leaks. Message-Id: <159240063808.19287.13977649617002497843.b4-ty@kernel.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 13 Jun 2020 15:44:19 -0500, wu000273@umn.edu wrote: > Calling pm_runtime_get_sync increments the counter even in case of > failure, causing incorrect ref count if pm_runtime_put is not called in > error handling paths. Call pm_runtime_put if pm_runtime_get_sync fails. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: tegra: Fix reference count leaks. commit: deca195383a6085be62cb453079e03e04d618d6e All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark