From nobody Fri Dec 19 20:43:21 2025 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 C04DD282A73; Sun, 24 Mar 2024 23:42:21 +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=1711323741; cv=none; b=PfWgr/bE2/ul3hkWtjj467muVSkPsPnoANve8YpWVtESbuacqPZWOCU5RgNFlBdhcDkADLoly6M+i+itNbFAOJZY6NDAW/Ko8l7R6mHbjRcAJkd85cdbuShN3Lm7he15SaBSR9PghJBNVIELhK7yD3GPgM3+ecejLav0VOUrExg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711323741; c=relaxed/simple; bh=+ZUl4XWyX2TC41ftSNhfrfsALGaw+PtYVx7wA53zQtM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=lWP/cVuh1QHOKorZbeSvqlF847n1C6NWFvD1VBOMXziixCkMO7OBcQrFiRt7lLWKsTa0za1iG0dDwSPXqEJtfZQ/ApeBO4p8oMA5yJUItsgv2FaR2jxUSHkbM3qpbrXWyjK5CrbYJRMQIKgEQTVt3/hFji9Jq9I4VwFIZFK3tlw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ULl0YH6c; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ULl0YH6c" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0AD48C43390; Sun, 24 Mar 2024 23:42:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711323741; bh=+ZUl4XWyX2TC41ftSNhfrfsALGaw+PtYVx7wA53zQtM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ULl0YH6crH9JuJ+mzicjUUkhtWX1ZbZa3NQjRI2ustjjWNucs6n8f89xIQTn8kaiV /LU1HAS4kT/D1yc7iPLTjh7uiJG/34UOy80CFV/YSIblxEOgcd5H5hbfLkvhqvzyix pbGVDR2jWtpXvyYoWJYBntYBqbfUMbwSijqDq2mIVWMzkKb7FtnnyVaz1cxia/e7j/ wmPg6ybrXAjf+hex8e9YK2m1+BnrVykK2ECzHMnVC9mFK9+VTMz4t76qdb/TvH4KZm EQ/6+PnHD7lykQFKEB7/NAYGo29EAV51J7G7mGpvFgKvp8zItEuR1ARw731Fs6gjm8 df814pepgPYDA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Christophe JAILLET , Thierry Reding , Sasha Levin Subject: [PATCH 5.10 116/238] drm/tegra: dsi: Fix missing pm_runtime_disable() in the error handling path of tegra_dsi_probe() Date: Sun, 24 Mar 2024 19:38:24 -0400 Message-ID: <20240324234027.1354210-117-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240324234027.1354210-1-sashal@kernel.org> References: <20240324234027.1354210-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: quoted-printable Content-Type: text/plain; charset="utf-8" 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/ee4a15c9cd4b574a55cd67c= 30d2411239ba2cee9.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 815e32e05f600..7bb26655cb3cc 100644 --- a/drivers/gpu/drm/tegra/dsi.c +++ b/drivers/gpu/drm/tegra/dsi.c @@ -1665,6 +1665,7 @@ static int tegra_dsi_probe(struct platform_device *pd= ev) return 0; =20 unregister: + pm_runtime_disable(&pdev->dev); mipi_dsi_host_unregister(&dsi->host); mipi_free: tegra_mipi_free(dsi->mipi); --=20 2.43.0