From mboxrd@z Thu Jan 1 00:00:00 1970 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 283061FE45D; Wed, 25 Feb 2026 01:46:28 +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=1771983988; cv=none; b=SdNMlAzbSSzhBw0bBgvDs8Ot4/sBAG6psp7Zf7F59pzHck+2vui4jfoz11c4YvV6bL3SWrKvI4foH/h6suGB00KojM2ETo/r9btse0PFZ4PikrMeSZIvZwTB13hWRcw2sVqj6eM3uOseC/oAMm4Wrikc4x5bQEPr1Zuasvb/98c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771983988; c=relaxed/simple; bh=ZyFPzLLecSnmExXec8Bcqmct9ZCCG5VPsrAA1BIuFuo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=cyrLqxlorgu016PAQbEOdFFcFPqSHH2ljxo/pdYkXlzHWGKBQF2s+Ij/+Xp2TgFRlYo6J2knhYi9U+5Lr6XLObnulaNDgK4QQZPc8NtrQXXaYyyNprg4MLub9Rb0IXVy3wUG2O2l/DUdTGeVqMyX1HJbPUFD15fh3qotcE/Ehtk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=CAj2Hqgg; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="CAj2Hqgg" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DBDCAC116D0; Wed, 25 Feb 2026 01:46:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1771983988; bh=ZyFPzLLecSnmExXec8Bcqmct9ZCCG5VPsrAA1BIuFuo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CAj2HqggE+WSu2keD9LYT1cFNC632FAKyoiCgRgBEdFNom4aaFxVcnnjaH0bxnw8X nuaJFcBqMOOyl4j4FNuSlm0+E/Op5nuj0qgvYaG6B/P7Jl63Bt8kaDJj6OP6AaV2XM sPGGl62nFtVwyfyrYTYfLaSG04Br1D2xyuXwb27s= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Dmitry Baryshkov , David Heidelberg , Neil Armstrong , Sasha Levin Subject: [PATCH 6.18 179/641] drm/panel: sw43408: Remove manual invocation of unprepare at remove Date: Tue, 24 Feb 2026 17:18:25 -0800 Message-ID: <20260225012353.364517140@linuxfoundation.org> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260225012348.915798704@linuxfoundation.org> References: <20260225012348.915798704@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: David Heidelberg [ Upstream commit cbc1e99a9e0a6c8b22ddcbb40ca37457066f9493 ] The drm_panel_remove should take care of disable/unprepare. Remove the manual call from the sw43408_remove function. Fixes: 069a6c0e94f9 ("drm: panel: Add LG sw43408 panel driver") Reviewed-by: Dmitry Baryshkov Signed-off-by: David Heidelberg Signed-off-by: Neil Armstrong Link: https://patch.msgid.link/20251214-pixel-3-v7-5-b1c0cf6f224d@ixit.cz Signed-off-by: Sasha Levin --- drivers/gpu/drm/panel/panel-lg-sw43408.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-lg-sw43408.c b/drivers/gpu/drm/panel/panel-lg-sw43408.c index 46a56ea92ad9f..6e307fba658f7 100644 --- a/drivers/gpu/drm/panel/panel-lg-sw43408.c +++ b/drivers/gpu/drm/panel/panel-lg-sw43408.c @@ -294,10 +294,6 @@ static void sw43408_remove(struct mipi_dsi_device *dsi) struct sw43408_panel *ctx = mipi_dsi_get_drvdata(dsi); int ret; - ret = sw43408_unprepare(&ctx->base); - if (ret < 0) - dev_err(&dsi->dev, "failed to unprepare panel: %d\n", ret); - ret = mipi_dsi_detach(dsi); if (ret < 0) dev_err(&dsi->dev, "failed to detach from DSI host: %d\n", ret); -- 2.51.0