Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1566972ybt; Thu, 18 Jun 2020 11:40:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwWuPmlhA/kFpTRp3W8CPrvUCNJDQS3/m++CGSuPqXDD4AT8pbssN/lYMFJl9j0I/LSHJaO X-Received: by 2002:a17:906:830c:: with SMTP id j12mr52695ejx.330.1592505631632; Thu, 18 Jun 2020 11:40:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592505631; cv=none; d=google.com; s=arc-20160816; b=u0GACU1hQX7cSNm05ZvIYVGorc0yKlSUBum6a0PdtxV+ot4Ju/dO+u85QimPkJnqlM Lu9ZOYfxOmnXYJY4HFlWKCwYoht9XR0ab1DhQ5k8ObPKtzlrQMG6lGCsBMxv8cXmfXTo T9eQknxvE3QpFoyl1+ztJyiUHyJrLOuDidKv3LTg25Ob1Aj5+v8lHtYrhpGJgv4/olHi M08pUkExzeZfbJKWlTS8laXgCHpkjY01ngHmoiTzIgnPfsJ6r1RD3g5aLUhNmfQD9fnr L7Tnkr5XQhMl94Us1HhjPE4pewr9IH2GZMx974SLIzwx1MOmU4s6ZjHk4tpBp9SnF6SF Z4vA== 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=rC+KJpKCx4FCp6Zyb2QTA89qw+g0JxgGJtF25qmjdw4=; b=nTk4VmOv5E9mPskz5CbjqC+YeJyOx6h3woJ3Sk5GCDlYYUF0VPh7MbEhytgQMJhZwj KWKZSa6zxZxDRm9Eo4XaTS/CualTxlHnJqn0BlD+b1tDSX2Ct7LPA/fr/Ej01rt/7EBu Mb/8Rf8Bu2dqTuMAchyIqDRA/n1uEGjiG+qBRsxqChUSq7gPA//pWWMDEiNk5h3oKina P0VI69hjQnp09Uiwlk7mncLi6dtY82BougmbdgIowI87AV0gdCogT6W71gogb01kPbRD A6SRkeJcHXI9LRvvyMNpYwmz9DN6P84U9FVoNT8kHGLnNvdvfp0RnSrzzApv31YeQqrO 40eg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=JHBJc52q; 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 i12si2491239edq.423.2020.06.18.11.40.09; Thu, 18 Jun 2020 11:40:31 -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=JHBJc52q; 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 S1732107AbgFRQsd (ORCPT + 99 others); Thu, 18 Jun 2020 12:48:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:56716 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730373AbgFRQsc (ORCPT ); Thu, 18 Jun 2020 12:48:32 -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 D5E4D208C7; Thu, 18 Jun 2020 16:48:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1592498912; bh=/WNekgZirWYXrCP4XgGxyiKDiwg2gM4IDVcjUWu8fBs=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=JHBJc52qgg06U8TRJ0jR/I4mprYbbU4MTjDm7kuraFaXPRRQJgsb3yOg/rwPzFupq x4yqSvAoIMEs1KHyFHA4Pdlg7VTPlr4AR1ptsxOB0r3oInSdR1ezG4Pz3Itth8Xui6 orfh/1y1Cqq3v+HjZEZtT0LDV787jsds9KKxNxMI= Date: Thu, 18 Jun 2020 17:48:30 +0100 From: Mark Brown To: kjlu@umn.edu, "wu000273@umn.edu" Cc: Liam Girdwood , linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Sugar Zhang , alsa-devel@alsa-project.org, Takashi Iwai , linux-arm-kernel@lists.infradead.org, Heiko Stuebner In-Reply-To: <20200613205158.27296-1-wu000273@umn.edu> References: <20200613205158.27296-1-wu000273@umn.edu> Subject: Re: [PATCH] ASoC: rockchip: Fix a reference count leak. Message-Id: <159249891020.8643.15196266849523031585.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:51:58 -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: rockchip: Fix a reference count leak. commit: f141a422159a199f4c8dedb7e0df55b3b2cf16cd 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