From patchwork Wed Nov 22 15:21:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tomi Valkeinen X-Patchwork-Id: 13465026 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 A276FC61D97 for ; Wed, 22 Nov 2023 15:22:25 +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=6GOA0Yj/WdygK+F7CIoonNrrbB488ZYjB5pG9IhxPfo=; b=tvouZJdp36ULZw MAYOlAI53J6AszTj75eF/0DONJPulamnNgnb6T4ueRZjWloN6l/XxSyfhAnClXYUn4KHeo1jXfsj7 2SQR4SBDS/dyzdhHbJTvTYtMIgYftcErDro8zamTUygbR5GBmXYoG25vdrxCKFrmCrkLCviR+s7yv 8Ae7RTGRT5fVIpw39bER8sQOW2w6HTB0XiCFg1v8cw3pZRbTBR0yZ1JSq3BtmIODfD5faK7R3Ea99 DFLylwtmPyNetBroX0/KM0RB3FMOwHSDajsjJdb+9vvBqCLrAI3Ft+HCUxWWVlhgd02N8meyrncAF qgrgW4hSWlS64qpAE7zg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r5p36-002EZ0-04; Wed, 22 Nov 2023 15:21:56 +0000 Received: from perceval.ideasonboard.com ([213.167.242.64]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r5p33-002EWx-0E for linux-arm-kernel@lists.infradead.org; Wed, 22 Nov 2023 15:21:54 +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 9C144276; Wed, 22 Nov 2023 16:21:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1700666480; bh=JHQBIVvAtxouujp8N06sHZVSSTpxaJ5CroHpbgMgE80=; h=From:Subject:Date:To:Cc:From; b=QYlGi4rR/O0h+uI6TPBbW4jXdQv4XVNOfV/WObPMWv766uzeZtcaJwJBBlkxNbnuS 2g4JNEaSnBdEQWHC8LNn6394Ak+gLnrNDUr1KBQvAQzaTtGE4YSRi/5cwM+5c1Y4OU voamnmlDebPOif7cniJwLAvjaW/QNf6PjBwl1+k0= From: Tomi Valkeinen Subject: [PATCH v2 0/2] media: imx-mipi-csis: csis clock fixes Date: Wed, 22 Nov 2023 17:21:33 +0200 Message-Id: <20231122-imx-csis-v2-0-e44b8dc4cb66@ideasonboard.com> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAH0cXmUC/23MQQ6CMBCF4auQWVvTGSJYV9zDsKB0lFlATccQD Ondraxd/i8v3w7KSVjhVu2QeBWVuJSgUwXjNCxPNhJKA1mqEYmMzJsZVdS0LpDFEC7oHZT7K/F DtoO696Un0XdMn0Ne8bf+QVY01tgG27q5sneu6STwoHHxcUjhPMYZ+pzzF62+Pp2nAAAA 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=754; i=tomi.valkeinen@ideasonboard.com; h=from:subject:message-id; bh=JHQBIVvAtxouujp8N06sHZVSSTpxaJ5CroHpbgMgE80=; b=owEBbQKS/ZANAwAIAfo9qoy8lh71AcsmYgBlXhyKSHEnOeVxC8w9rkJHWfhlX1Z9pE6Q03rVn lxBW6uioIWJAjMEAAEIAB0WIQTEOAw+ll79gQef86f6PaqMvJYe9QUCZV4cigAKCRD6PaqMvJYe 9eI1D/48oW/RmCr9/xtb5mxj2EhZiv65oCIgRh/JrhyTNY+3mZImlvmC+Eg+U6K/h78sJq1/89c VqziH6IwEMVZ9V5oT3w5AECzw28kedZZZozptf0uhU4RGoA+gW148SOAWN4PTnofuHZvZOzh/3b /RrD7gl9Hx8CD0s5nxQZJtqXalFknqYEa0uqYmwSBMjtKQkQCyuhnfU9tOdFWCbkMmkspA/Fb17 qfZy3BEEFke9K4EGKgV/DL0PEY+0VqUhcuT02oTCgJPmGLzv/JQDSQulbjO57f0ZL6SscEdgLmm YxQL5+JTsTQgwabF9U/9VyewL/D829SItBS6tOAMW5fuTuzn4rbjLGkfQkotIxWfzUqmtF7xXFv 2jEFVdUBH2wCMddk/8QDDQgnbrxWkuOBOXqaKFVx5BkWfCAF2bThnzwDmnNjx6248/f1jSlEgxC x6CJzwGjGGQa4Nwv128qQKtkn5Nb6riBxgNMiu0prrYn0FxGV13H4GIzYFHIPW4nBui/v0oNWOM eGCP9tqmrvnJRVcxsxmqTtTxVXG08Hx1xcwHZ8zKkdtV3sZX8nIqhWfsYrarncKfwAgb8+j9P1y 8LjtP+VMtJU8zA396LvV5WLj1bmos+SMOigU83Y4rSs1fQSpVdI7ExU5jf5yNYdGYVvNGDgCWVM 7541bgg2n4bcxFA== 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_072153_251185_36B2D2CF X-CRM114-Status: UNSURE ( 7.25 ) 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 --- Changes in v2: - Add Fixes and Rb tags - Link to v1: https://lore.kernel.org/r/20231122-imx-csis-v1-0-0617368eb996@ideasonboard.com --- 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,