Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2380776lqp; Sun, 24 Mar 2024 16:52:59 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUM/LhVJJMm7/rKTr9d6qQg2d5r/swzPBp82D0EdAi9es5aDdERCn8DLAWOAmwEUquCRicSyeEFV5K2QwGXBlNh598+KgEHavIzcu46nw== X-Google-Smtp-Source: AGHT+IHlvvExKvRhGmn4SyJgjCovDa/SOytQon9UumSHysQsI/pLj0+wcbK2htFDHL8Gujuru/dl X-Received: by 2002:a05:622a:4b1b:b0:431:3da3:9525 with SMTP id et27-20020a05622a4b1b00b004313da39525mr7316663qtb.2.1711324379360; Sun, 24 Mar 2024 16:52:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711324379; cv=pass; d=google.com; s=arc-20160816; b=XuXM3Tr58rgcSFLnYQVC5JfzLf9VysZzcsRLo3+2iVKnr8w0Wz3fKCURJhf+s1u+Wv XZ7cxpEg075e0lWI2vt4KXZoI6E22VHHVuAUHXLD3KPy/SLI2FZd86AFEaP6g3rtSqtO /hbiTde2jsgilzsQ1GV2MpKHcWhK1XxXY3ws3IXj1Zs4hi8NXeeaJYI54brW6bP2sCjy FDQ/zg3SOOKUa0lRYvwKpH7HG80nG2w/DsSkM7SvBhVK3lgxHyW+Hn01/qC3rS3rC1x5 TevuJ46ukOMGMOdvpAnznjWYA7HAJ+N1iuTS/Gpgn8+UxFnEPxkdTwdsrwQSJr/0EaNb B5qQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=Xvl+XryU8LyhGJueZu/Y7zCscaT+/iWIyiognEJCNJA=; fh=4RGyyjZTpuBUGR1TesKnLTwS9HCKIISg2vxTmZH992k=; b=JyyU/wOnX58oOi140mzXB2s/BM6KGyIYwaNn7rurqZESL0LVYdGFliQsR3FLAQR+iU UucBd86p7XrxkBrJ257XND3blkHrz5QDDxan7CyZJ5R182xm/sPQb42uEOyhB6gmfBWp AcWTrolebcDD2MUAu9TdnFZZgI03Fqt3XSNDyWEx4O2Fnc/DjbqC1qvQExdrEbrybLTz KsVRVEugI60UrEitxtpdTAU4wVe0tw6h2tLY06SYdyLG2ZDLJVAosT18K2x0mgvWIoW9 UmZByaT8Do1jLbJeh2+kxa3ZwqnORbXCjsCAYyKz1V6ym9Zki+FBcJ8gTmh8n6CsCbkG DQhQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GgLKdurT; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113244-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113244-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id z7-20020a05622a124700b00430d8ca526dsi4534687qtx.762.2024.03.24.16.52.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Mar 2024 16:52:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-113244-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GgLKdurT; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-113244-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-113244-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 1AAF51C22261 for ; Sun, 24 Mar 2024 23:52:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9444113C9B9; Sun, 24 Mar 2024 22:40:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="GgLKdurT" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A33705DF05; Sun, 24 Mar 2024 22:40:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711320044; cv=none; b=HQO3e/J5F2T0Bfb6mk9dMnARmXp1QGLf6GZLeymRMuw5U1wzORZJCO+O8Vd4hxbBc7Knnmk0kuje7TAOuxQpFpFunGVFTz7RLRe7mZjJegOqaK4cv8gJUdX0rLBzrOct6itnfjf/T1gH1Je3Yz1ep5Xb660t7xO/7Tz6Suw0QH0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711320044; c=relaxed/simple; bh=H3YOOhBig6iwhtefRcb2o7O5wuSRi1oZdbrtIM+94i4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=sNX0DehHUhSmCqWxrNth4F687rwW5Glt+Qj9uINpagYwHPcme9qeKfqkPjYWdt5J85bBrSok6qQs4pLu7/nTsxPeQp246uyf7ndXuXaKY1O4/pN0fUTcAqaI7MsHCpjoPKqmK6YhQ82VFBa5/42YbwmdPFAfjb55tgqErIkW8Vk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=GgLKdurT; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E356BC433C7; Sun, 24 Mar 2024 22:40:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711320044; bh=H3YOOhBig6iwhtefRcb2o7O5wuSRi1oZdbrtIM+94i4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GgLKdurTB13tB3j2bJV1Yqyr1eu+rdwf6QegniUoxhQ7yTPgP+st6e8d6zOC7ByW0 dBmLggDruqNs/A2C0/s5tGAjB4E0IiIHKUcG+JW0jD7OtDbLhsDVvlJ1+y4bDYTHFg 8iXsY0M5MNk454+6i6b1UYocDrDIPBjGqo7H9WhcqaECWC6fiWTWvw9mTeWjTH650g RWqYPuJZzgZ8vgK9JLpKtLLZH+yp/UDih3JSMgTyv5PHB3UHXLh4ssgHMTrcuhiw8S Jrf+Lnv7XsPoP27kCaKZv/5rmjVgnwJSv958C4+lMnLoLjQsi2pJtFQ+TllCJEHFIS 1BmtP6DHPY1fQ== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Christophe JAILLET , Thierry Reding , Sasha Levin Subject: [PATCH 6.8 353/715] drm/tegra: dsi: Fix missing pm_runtime_disable() in the error handling path of tegra_dsi_probe() Date: Sun, 24 Mar 2024 18:28:52 -0400 Message-ID: <20240324223455.1342824-354-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324223455.1342824-1-sashal@kernel.org> References: <20240324223455.1342824-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit From: Christophe JAILLET [ Upstream commit 5286a9fc280c45b6b307ee1b07f7a997e042252c ] If an error occurs after calling pm_runtime_enable(), pm_runtime_disable() should be called as already done in the remove function. Fixes: ef8187d75265 ("drm/tegra: dsi: Implement runtime PM") Signed-off-by: Christophe JAILLET Signed-off-by: Thierry Reding Link: https://patchwork.freedesktop.org/patch/msgid/ee4a15c9cd4b574a55cd67c30d2411239ba2cee9.1693667005.git.christophe.jaillet@wanadoo.fr Signed-off-by: Sasha Levin --- drivers/gpu/drm/tegra/dsi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/tegra/dsi.c b/drivers/gpu/drm/tegra/dsi.c index 0c8ad8ee5009a..db606e151afc8 100644 --- a/drivers/gpu/drm/tegra/dsi.c +++ b/drivers/gpu/drm/tegra/dsi.c @@ -1675,6 +1675,7 @@ static int tegra_dsi_probe(struct platform_device *pdev) return 0; unregister: + pm_runtime_disable(&pdev->dev); mipi_dsi_host_unregister(&dsi->host); mipi_free: tegra_mipi_free(dsi->mipi); -- 2.43.0