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=-9.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 BD01EC433B4 for ; Thu, 13 May 2021 22:30:33 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 16FB561354 for ; Thu, 13 May 2021 22:30:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 16FB561354 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=sntech.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-ID:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=E9WQUaUUNv2WIr8L+mtC4ARoplZFkzg+QrAoZB1H9CM=; b=o6AK7yEUNAMBNxIVPxQYGofXJ vtVQiZBEOoGPKLBvG3eyZBrhKZf1ZQ6XHbo6iXTa5fDHnIeW1YcPH1j5mP5QzQdJtgQ7LI4yOPhw0 Bga1oCic0J0UMoWTL766Lrq4Y5Ter6Zel7g/KMLx6GqGK1OzKQZ3fRSDolZmSUmIFpC3ksYhefj1C u16vV97S2r/gkb9Vh49+w2xjCZnQ+iZePGcvCaLlVlXExlVC4ys3gLUSNYhKgnkumdvD+pteJkwcQ BSgiARVsQbxcxGBODrD6YvN77DV0WsTcWez7C8XXmlYLmPM3VgWspsDP30/MA4QKSaMliP59YwHxo yiL/Ki6SQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lhJoG-006Y7s-Bm; Thu, 13 May 2021 22:28:00 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lhJoD-006Y7E-7B; Thu, 13 May 2021 22:27:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:Cc:To:From:Sender:Reply-To:Content-ID:Content-Description; bh=jLKxJp2qhCxwlod3aeholsu27afniMv8PfPzYNsAohg=; b=Ty5xvjmXJcLuRuU31QLyZy1tvg uniSkAC5T5WdlvwQIIa4f+RU03NkgApVvZrRrAK7wRf2SXhYvpmX6/+Q5EJSHPRKckvYI2k7gvrDY sOLSlm11xRDzWDOIgxj+CnlaXYuSoRhOzxOEHxh+vHCFrdsips1IohQco/fXh4vnyFCGoZ6+koKYB uovBASS9j43sqAzFOVxzyouSNdaxn/RQbdxMp3TP/geC+77hsAiZpARk0pAapZDedl3ZX4dyk7w9X YHhMA756M6MvqU3Cn6frPVGDGC5Eu/vHH1rbBbXp+9wypOKKZ02EVCbU7Gvko34sjW2guZ5Dv62F6 RDL2bjxg==; Received: from gloria.sntech.de ([185.11.138.130]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lhJoA-00BZ1x-Px; Thu, 13 May 2021 22:27:55 +0000 Received: from p5b127fd3.dip0.t-ipconnect.de ([91.18.127.211] helo=phil.localnet) by gloria.sntech.de with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lhJo2-0007L6-7Y; Fri, 14 May 2021 00:27:46 +0200 From: Heiko Stuebner To: Mauro Carvalho Chehab Cc: linuxarm@huawei.com, mauro.chehab@huawei.com, Mauro Carvalho Chehab , Dafna Hirschfeld , Helen Koike , Mauro Carvalho Chehab , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org Subject: Re: [PATCH v5 17/25] media: rkisp1: use pm_runtime_resume_and_get() Date: Fri, 14 May 2021 00:27:45 +0200 Message-ID: <4108655.ElGaqSPkdT@phil> In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210513_152754_850728_619DBC83 X-CRM114-Status: UNSURE ( 8.95 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Am Donnerstag, 6. Mai 2021, 17:25:55 CEST schrieb Mauro Carvalho Chehab: > Commit dd8088d5a896 ("PM: runtime: Add pm_runtime_resume_and_get to deal with usage counter") > added pm_runtime_resume_and_get() in order to automatically handle > dev->power.usage_count decrement on errors. > > Use the new API, in order to cleanup the error check logic. > > Signed-off-by: Mauro Carvalho Chehab Reviewed-by: Heiko Stuebner _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel