From patchwork Wed Nov 22 13:13:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 13464864 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D6ECDC61D9B for ; Wed, 22 Nov 2023 13:14:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:MIME-Version:Message-Id:Date: Subject:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=fIWxPnpEnQ0dEbak7nNbDfdnvrT7C4uPwxnUY04QMJo=; b=450wr+f9nYtW0/ cQlv4eFbROfolvXcqA8+2/9AQ9oXytn67TH2Ej8IY8jLn0Npo2N5R+aUO/mB02uREo3BDHFUUGPWn BSf6Re1bnA7Oo5A/Qm0UIoRKx6KB7pn1+fVwOY3l1DIaekZLA8/xWEZRimO0hiNXhNGpB1rAcV121 TcYeEH2OHfaNLmdKbsHUVRs0ZleNY2FsU/pT6grkc6ZOl42adbKlN2K0SNkkmvu4WY3j3U1zlQxAO elAa7nHDEmJFqrdAGxTtXsHLA2nHvZkcph13OZx1Mi1hp4OxgjLtvXB6ua9ZjVabRB+0k17yiBMV+ CGmw5Gy6n7ghBJE/Mclw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r5n3c-001uss-2m; Wed, 22 Nov 2023 13:14:20 +0000 Received: from perceval.ideasonboard.com ([213.167.242.64]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r5n3a-001ur2-0C for linux-arm-kernel@lists.infradead.org; Wed, 22 Nov 2023 13:14:19 +0000 Received: from [127.0.1.1] (91-158-149-209.elisa-laajakaista.fi [91.158.149.209]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 0E50A276; Wed, 22 Nov 2023 14:13:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1700658820; bh=xUp1lgq1XJQ0yPFO/RbO43/4PZtMpFPBohbQDo/f+A8=; h=From:Subject:Date:To:Cc:From; b=dkEJTgDpEU0HfTgvsJ1uVzNYn0a6ZMbzKZP6BWcffECOhtLeyjIRk3upTC2XXe3LG FXxb11913gKBMg4dlefMRrdujdAjV2qlfMYkakzylR4eZKxjjr24Y0Q2qOs+ixxuTS ToB3aXezYG2YyeMjxLYzoI+ES3h3A7wM1xHbXqCg= From: Tomi Valkeinen Subject: [PATCH 0/2] media: imx-mipi-csis: csis clock fixes Date: Wed, 22 Nov 2023 15:13:47 +0200 Message-Id: <20231122-imx-csis-v1-0-0617368eb996@ideasonboard.com> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAIv+XWUC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDI2NDQyMj3czcCt3k4sxiXXPLFCMDw5QUU8MkSyWg8oKi1LTMCrBR0bG1tQB R9wWfWgAAAA== To: Kieran Bingham , Rui Miguel Silva , Laurent Pinchart , Martin Kepplinger , Purism Kernel Team , Mauro Carvalho Chehab , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Cc: linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Tomi Valkeinen X-Mailer: b4 0.12.4 X-Developer-Signature: v=1; a=openpgp-sha256; l=612; i=tomi.valkeinen@ideasonboard.com; h=from:subject:message-id; bh=xUp1lgq1XJQ0yPFO/RbO43/4PZtMpFPBohbQDo/f+A8=; b=owEBbQKS/ZANAwAIAfo9qoy8lh71AcsmYgBlXf6eANEcYpo9fhJrOO1DodWQTpcIxD8I1dgYm JKjiwHqtaiJAjMEAAEIAB0WIQTEOAw+ll79gQef86f6PaqMvJYe9QUCZV3+ngAKCRD6PaqMvJYe 9TEJD/9hB869O9DsFhXVeUTS1/P8og9vzsRKOAq134o4gQqN4Jp5dSpeJQ+6Br4GcNry0jLlhy6 HCznF78fbSFdDk2WjzrmOdoBIrdCCWSb7JVGmLRZJIMmBJnEgXTxdLbuilDLZO8b/hq0o2OkOtO YRMz9ASGshHD18sx9b0Uy5/n+7pL6gM+0WQG0kYpK+mqtbHFdBXKt/4JcYi5i78ruSgDiruphko mc4FlDLGcJ8cP0Uzrbg/NkAESBI48ElrOiPiM9hGuuGCp2wW6joPnKQ62yDVFvwmTifWxYIP+n5 5yojuAKcabZtQYK4EN48m75apyKkHE9wqogSJ+lPlKMg78Wc6U5ZqkGNPrFJb9xK6E6F6TeRUmz oXFZC0wTZFbe1AdLk0dAPBMMI/9T64vtg+BbuOt8VxrSWZKH9GOmoHQq2IiSjnQqTUHey5At4l7 BPpAIXbTbTppN23ejnKby1Ev02uYd0jQJXON8GqA33I2SZ70cPr6Hq+hhfYx++6t+9IYCUwun7X SoIbnKlDb/RqqUhOZZlx+UjXOzQjYdP+KGJxiYofSLWOQ/whdPN/43/amRDVrM7sKrvU5CWO5pq RgghuyPHGhxKUtVNoJfq3EPvagRAa6mxf+5ZWrMI4q+8JPAP2RYvq9gEewsBAtbRkhHX+I8WpAi I5F/IreZV71tlug== X-Developer-Key: i=tomi.valkeinen@ideasonboard.com; a=openpgp; fpr=C4380C3E965EFD81079FF3A7FA3DAA8CBC961EF5 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231122_051418_265583_B5D78F03 X-CRM114-Status: UNSURE ( 6.41 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Two fixes to the csis driver: One to fix remove() another to only enable the clocks when needed. Signed-off-by: Tomi Valkeinen --- Tomi Valkeinen (2): media: imx-mipi-csis: Fix clock handling in remove() media: imx-mipi-csis: Drop extra clock enable at probe() drivers/media/platform/nxp/imx-mipi-csis.c | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) --- base-commit: 1865913dd590ca6d5e3207b15099a1210dd62f29 change-id: 20231122-imx-csis-79d201dd51b9 Best regards,