Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp328025pxj; Fri, 14 May 2021 04:36:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzY/aI5LCdlVfXSaGg0cIlEDy+FImTlAS+3TeYwxmn82A/kk1oMHGEr4ZpPBOvYOQVEangN X-Received: by 2002:a50:ab5e:: with SMTP id t30mr5322103edc.50.1620992207648; Fri, 14 May 2021 04:36:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620992207; cv=none; d=google.com; s=arc-20160816; b=N0LayvoRUY3NJntkSJDTxY/tK6YAaBFhOYIW4VgBZDcecYzIA/TEizJOw0DVqvnGeX ASFEN2UQiXWI4TS1FuBDg7O8hE1kFYUz9Yy1+ak/Vf5OF//7rV3KICBloiI/Gig1Wv7Q nAJSYg6Ellg2LAEUf0xANqUB0K65SW+JonGbXQSjP37NzzQjhK86NQ+i3HhkOp+d2ZRG dzR+UuRfKA38xMTdN8bQ6/rAEfUgAaAn8Cwwc/Bukqe8YALTNoqgQbxesPApjZDS5yL3 FBD2oIbS/h3FLLqLeREim2QNrZDZPdrHKw0zjGhklxtFeLEp/4V80O9AD2C6Ixa33azK ZRsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=oN9hra7S5J/7fk7Qy1SvitBktA01gInEFqdD3gUYMu4=; b=maWf6zWux3auuMxZUzedBEE2Dsif4cKsgFni1S/Mgy2L/bPFVl0hzd9WeFrUatVjBR +iyTczHUWYWZJSRmdeMfkzZ54GhOdPePgmgwQIgrRBjehWFgc5SoeAw87e3L6LM8Scjd 1aOfZkzhyoT2jH+6l0eyFGJWyzqmz94WXGMdzGHHKQcRWYXN63Dol/qHltqRaR72LLi+ Yq6GgyRlajee94bw8vZbtsSoUVxUU3TIll+HRVHYj2SF7YQzN6Gy3JQin0q4M9pwtYNF qUusl5m1YyKIGWd7+VazzVWiGq0tHEGYZtpYDZy2tLFpgn3jaP6wVva2hoXycAAjIFyf 8QKg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ay17si6733897ejb.340.2021.05.14.04.36.23; Fri, 14 May 2021 04:36:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232231AbhENLgz (ORCPT + 99 others); Fri, 14 May 2021 07:36:55 -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-crypto@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