Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp1170275rdf; Wed, 22 Nov 2023 07:22:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IEPzNxjsiz2SL9YGyjdA8GdQkkWocrN/evIuVjO6blqLgPP8/YgMU/tDJj9pPtCdoWGo4ub X-Received: by 2002:a05:6a21:3716:b0:187:db43:d1b1 with SMTP id yl22-20020a056a21371600b00187db43d1b1mr2238364pzb.24.1700666551695; Wed, 22 Nov 2023 07:22:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700666551; cv=none; d=google.com; s=arc-20160816; b=XZ4jMimU3SnKn02AAsBo5mCRhW1RBuB+1ZbQU9vdgiX0DVy7BbzZy5x2Up4YCdKWBM pnENMj3omVxs+yIhQKBmcD5Xzkx1j7jYQkEN8zYegu5QA8gydTuQUfOR7UVFhozIyHq2 2nq3j+3DP82E+rIbUyz+JXfTLIJTxO6AxCQ+TAnRLVd+sn5HNF4z8krCqiTUm95h+0/9 CWTOTRltY/7ARN28JGD6utWqV5MI+Tur5mUdtIwJtt6zOc4TYiwgxaU0KqAyWpY4S8JL wzbvLBOgDBfLyCj43mSfRocgWJdvurIhTu2kRk0/rIULnBv2rCmAN/4agmD4O0f2KPDT zu+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=irYqxJ+QEFo1Trumda/z+wH4FtFZ5YAdy6+FzFVOrPw=; fh=7dkMOs5/tPCl/heSmN/G4SnIn36MQ9Q1x2sCPQaV5HQ=; b=iZUE5o+yj4MRQx9ngVizW8N8fhmoGb/1qVnzsy0SZqxwnuhgZfnRxw58XKvRJaWr5M Fn4BtEqOWexcNeNp4JfUClxv+ArgCxS6uZVu7BOdNbnCXnckA/SrXBZ+BkyO2c/kULFo gs936xs1PT/TJHbIsJFDc8zUEMdsSbNBnw60wujcnDJH6AYOL3fU56wMsN1qoRlqNcf0 VMjaOYMzy7LUCsWq9QuyjiFgxCLgwfxSWOMhZqaOFgSIVAftsOmsC1xyCCRpuyd9D0FB XeWSBNa9i/ACLsbs1yoXFZVYVVBX6+QByx9tR/X3a2ZcWu0g+ztoyPBzOsXO2TKzIQcH +0tw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=QYlGi4rR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id fj31-20020a056a003a1f00b0068fe12b361dsi12995257pfb.249.2023.11.22.07.22.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 07:22:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=QYlGi4rR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 1FA7F825EDA4; Wed, 22 Nov 2023 07:22:16 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234691AbjKVPV6 (ORCPT + 99 others); Wed, 22 Nov 2023 10:21:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231948AbjKVPV4 (ORCPT ); Wed, 22 Nov 2023 10:21:56 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 54FAFF9; Wed, 22 Nov 2023 07:21:53 -0800 (PST) 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Wed, 22 Nov 2023 07:22:16 -0800 (PST) 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, -- Tomi Valkeinen