summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2025-08-13 00:45:16 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2025-09-09 16:59:17 +0300
commitf14eb6a9aa132eb07460bccac7bb74bc379a8b41 (patch)
tree704dc37c1cc8ba70032eeaf559e94d206812cef2
parentb4dd3bbd2eeb60702a8251c50cadd098257c5bfe (diff)
downloadlinux-f14eb6a9aa132eb07460bccac7bb74bc379a8b41.tar.xz
media: i2c: mt9v111: Do not set clock rate manually
The driver retrieves the rate of the external at probe time, and then reprograms that clock with the same rate when powering on the device. Setting the clock rate is not needed, drop it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Reviewed-by: Mehdi Djait <mehdi.djait@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
-rw-r--r--drivers/media/i2c/mt9v111.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/i2c/mt9v111.c b/drivers/media/i2c/mt9v111.c
index 9d724a7cd2f5..b4f2703faa18 100644
--- a/drivers/media/i2c/mt9v111.c
+++ b/drivers/media/i2c/mt9v111.c
@@ -365,8 +365,6 @@ static int __mt9v111_power_on(struct v4l2_subdev *sd)
if (ret)
return ret;
- clk_set_rate(mt9v111->clk, mt9v111->sysclk);
-
gpiod_set_value(mt9v111->standby, 0);
usleep_range(500, 1000);