From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8BCCEC43461 for ; Fri, 14 May 2021 11:35:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 648B8610EA for ; Fri, 14 May 2021 11:35:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232266AbhENLg4 (ORCPT ); Fri, 14 May 2021 07:36:56 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:37260 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231989AbhENLgz (ORCPT ); Fri, 14 May 2021 07:36:55 -0400 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtp (Exim 4.89 #2 (Debian)) id 1lhW6W-0002zo-9Y; Fri, 14 May 2021 19:35:40 +0800 Received: from herbert by gondobar with local (Exim 4.89) (envelope-from ) id 1lhW6V-0002YK-I6; Fri, 14 May 2021 19:35:39 +0800 Date: Fri, 14 May 2021 19:35:39 +0800 From: Herbert Xu To: =?utf-8?Q?=C5=81ukasz?= Stelmach Cc: Matt Mackall , Krzysztof Kozlowski , linux-samsung-soc@vger.kernel.org, linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?utf-8?Q?Bart=C5=82omiej_=C5=BBolnierkiewicz?= , Marek Szyprowski Subject: Re: [PATCH v3] hwrng: exynos - Fix runtime PM imbalance on error Message-ID: <20210514113539.2zgidvassvrnq3ig@gondor.apana.org.au> References: <20210505182914.13394-1-l.stelmach@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210505182914.13394-1-l.stelmach@samsung.com> User-Agent: NeoMutt/20170113 (1.7.2) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 05, 2021 at 08:29:14PM +0200, Łukasz Stelmach wrote: > pm_runtime_resume_and_get() wraps around pm_runtime_get_sync() and > decrements the runtime PM usage counter in case the latter function > fails and keeps the counter balanced. > > Signed-off-by: Łukasz Stelmach > --- > Changes in v3: > - use pm_runtime_resume_and_get() > > Changes in v2: > - removed Change-Id from the commit message > > drivers/char/hw_random/exynos-trng.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt