Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6147783rdb; Thu, 14 Dec 2023 09:27:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IEUy1C9W/SNl7HHb+5OLmT6WByc3Jri5QNjLqQ3mNBw6QsMchl4JevjNMZgC3IZ+ypeFTdu X-Received: by 2002:a05:6358:c313:b0:170:50f4:447a with SMTP id fk19-20020a056358c31300b0017050f4447amr9888893rwb.48.1702574873484; Thu, 14 Dec 2023 09:27:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702574873; cv=none; d=google.com; s=arc-20160816; b=Tpf/QUbKnGO7WJFDT0kdzjvw0bwiwh2TS+++XNDqUTc1GhReTlcNQpnNdHaDMGQohg QMuN0TE9R2DlssGOKCxUuD6o9/pLTNMcWYeKZPIqXSzOOwUiOEE1vEZ/Qo4VbMew1Evi ZeJ/YnSjRb8ZwHjn6o7jofn/b0HlySEco/FHYkKhxUolU44/X7pKKCxg+dPKqdAYitYn MCSCUb33DIj1F9xHi8C9/ccMZniHfTzhQVOMdMhUpc45jdqHPXQEOXzZjTGfyE/bV5rs q7Jkoyeh/YQEiK88103zFFuVSv/vhBobR9mLTiOkxkqkg7wADZgJ41GuklCATrP0ylVh qOOA== 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-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=bhNXYxyAPYzPWe6n1/YVvZ3TcijeuBnRICz1efGH75o=; fh=ikcV+dPZV54s7LuEItyj4vOWKoZwsEUCazBFGEcGyEA=; b=WIc+NEgK6UMLZVerE4d6T4wDUtM3/Rob8YDyS+78gvLcMh/LRyUwao8ZfyyDYqumCo cELmLezonooKc9iBH7OV+BCa8K+dCE6wpUKkHKHgXE6p7ohXJyBqbM5AtnmuKgEKqEB0 1kVZSNZgYpMsWvOPI477L8v4BkP9xVGvbhSUGm64CIDtiVUfsmwuegROUuGWD2KHfene dQYIP8ivPITNe+cnPSKNIi2y+KrXEs+zRuoavN4fm1ok2w1gpM1Tp3CA/9u2J5S1w+Jr oJTrSuXc9rY5xEPZa+YTCrxjbtVUSacLVXiWBLWioTTYwquPZ0P70qVgQsA18sP7kdHD QyHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=cQKdi02F; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id v3-20020a655683000000b005bdf5961d93si11822887pgs.387.2023.12.14.09.27.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 09:27:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=cQKdi02F; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 43E47836CE58; Thu, 14 Dec 2023 09:27:51 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229708AbjLNR1i (ORCPT + 99 others); Thu, 14 Dec 2023 12:27:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229464AbjLNR1g (ORCPT ); Thu, 14 Dec 2023 12:27:36 -0500 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4421EB7; Thu, 14 Dec 2023 09:27:43 -0800 (PST) Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-40c580ba223so29611195e9.3; Thu, 14 Dec 2023 09:27:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702574862; x=1703179662; darn=vger.kernel.org; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=bhNXYxyAPYzPWe6n1/YVvZ3TcijeuBnRICz1efGH75o=; b=cQKdi02F5sAauJLM9oqT9m2bNn9h8tz51M/z2AShDCnxFukeEW6lPcJVydqHLiq73M lR6Re8GTIx1QzqZgLwJ5t2l+5lkoYx+ARl+WVnBaBRqd8HmdCiXUDiC3wd+Y8wizFTt7 WnM8fOv43r4gc6B/qwrDOoOtzH18F79Rs9Oedo1rZQQSbXdqU8v1NFjUCdp395Jna/Pb fNdJEkbJQVbDfQM4VQ8y3bgldZ5ktZW4enk/YXyGTaEcg75sGOKEw6wnLJK6q3yGWiSr SLaJObVRUatRsUZWjj6jvmmzF01CyHAH9OAohZkzFtAyZoY2Qk5Cg31gGxqMJjoeoxu7 pAHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702574862; x=1703179662; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bhNXYxyAPYzPWe6n1/YVvZ3TcijeuBnRICz1efGH75o=; b=DQoG+9E/fdQ2avjZCGH7OUESH2EQ1f5WDyO/tfPnaKDJCfPzNNeDIVULynDVF9VV8j RChfreDHnmewHMZAER1SdRtIIsNVHeRU3VIzWKc5TwnN24JYSJx+NDhn85RG5bGDSW6m 54XrEnN4YLiF8nYNE725o+jjgSOD0cdYJ/bIDD5nKEzl7na4iPsTxEkxhpM6Gxk4gsPK EFDEmd6a14e38++lRLc3btnpAEBI3Xehz3RZuM3pb2cQCJ+Udgsoo94hBbPQYCSgyPWe Q/+ciEqLkcI4BF37jVzPUdsdA6hx4C9eRCpW6ohnuFviHisZKEOK35BwhmnSY+fS5sY1 9mjQ== X-Gm-Message-State: AOJu0YxMd5MLj6N865rkLysTVPVVxmKnmdKAzd2EeBefo4UVbT0vFCYq 9Mi7nrjSdIirSpHiwy//veMIUfmNHMc= X-Received: by 2002:a05:600c:501e:b0:40b:5e1d:83a8 with SMTP id n30-20020a05600c501e00b0040b5e1d83a8mr5741736wmr.60.1702574861554; Thu, 14 Dec 2023 09:27:41 -0800 (PST) Received: from orome.fritz.box (p200300e41f0fa600f22f74fffe1f3a53.dip0.t-ipconnect.de. [2003:e4:1f0f:a600:f22f:74ff:fe1f:3a53]) by smtp.gmail.com with ESMTPSA id h2-20020a05600c350200b0040c44b4a282sm17521133wmq.43.2023.12.14.09.27.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 09:27:41 -0800 (PST) Date: Thu, 14 Dec 2023 18:27:39 +0100 From: Thierry Reding To: Zhang Shurong Cc: mperttunen@nvidia.com, airlied@gmail.com, daniel@ffwll.ch, jonathanh@nvidia.com, p.zabel@pengutronix.de, lgirdwood@gmail.com, broonie@kernel.org, dri-devel@lists.freedesktop.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] drm/tegra: dpaux: Fix PM disable depth imbalance in tegra_dpaux_probe Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="2ga4bhpKz+XbSCEL" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/2.2.12 (2023-09-09) X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Thu, 14 Dec 2023 09:27:51 -0800 (PST) --2ga4bhpKz+XbSCEL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 04, 2023 at 10:10:55PM +0800, Zhang Shurong wrote: > The pm_runtime_enable function increases the power disable depth, > which means that we must perform a matching decrement on the error > handling path to maintain balance within the given context. > Additionally, we need to address the same issue for pm_runtime_get_sync. > We fix this by invoking pm_runtime_disable and pm_runtime_put_sync > when error returns. >=20 > Fixes: 82b81b3ec1a7 ("drm/tegra: dpaux: Implement runtime PM") > Signed-off-by: Zhang Shurong > --- > drivers/gpu/drm/tegra/dpaux.c | 14 ++++++++++---- > 1 file changed, 10 insertions(+), 4 deletions(-) Applied, thanks. Thierry --2ga4bhpKz+XbSCEL Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAmV7OwsACgkQ3SOs138+ s6GKVg//eVk62JGZsNwcomhQ8UjV7GIdFwOYPfRJbaYoFtmZ2jZqMOdYE/NDYYMt BkvN6UEK87BP4lslecYI7ooR2ORjKjtyX2/8NLqhQSsDxUCbrBjU1VhRO0eyiQvm 0wwFvEF8nWMLnKtmmklnpO9i9T5EuKGOSshRYaRxgN6gJYJGrZLOt+snSMuGx1Pi BKsyukdE2vHVQ68oiyvMyoFkkEKjQljc8/mkOAhsKxFqObbOwWUJUVZusvE0AoPh +NuzFBtkCubHntRUaUdMmomqWBufK+xzFPxSuGu3IhJFOfed6y+ENu+shaF0vP98 vHz11q1n5UX6DRgfUhTp2yZLc3HDC/qWzUj44dvccd6HUOUW8he9o2yjle49ZOEG pwFpmJUICX805jFGhgsL0FenugXkacrQM+VHAnWrfQJfsXR7U5HW9H52So+V/mC/ +e3Vg2Bo7OuDwYR0z2qpxwptT1tH3igfX4t+YZOQxpHPhswPrqwtNW+4ZHWj/bD2 J/A56TIedeoEaL2NdiwhXEV+rqEgh6kTT+OQxkUC+9r36954a2oNi7dUaA69waLk l+NCMB/lCA8GgFyDTQNWMTNirz0/vficWJx/lE1YArchkglCtlfIIDtiYF3udAzb 4JeZocrkxuxwUxIZltPCyz+rMoS7FUds237S8hXO68sON4uIxRk= =EYX6 -----END PGP SIGNATURE----- --2ga4bhpKz+XbSCEL--