]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: i2c: mt9v111: Do not set clock rate manually
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 12 Aug 2025 21:45:16 +0000 (00:45 +0300)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 9 Sep 2025 13:59:17 +0000 (15:59 +0200)
commitf14eb6a9aa132eb07460bccac7bb74bc379a8b41
tree704dc37c1cc8ba70032eeaf559e94d206812cef2
parentb4dd3bbd2eeb60702a8251c50cadd098257c5bfe
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>
drivers/media/i2c/mt9v111.c