mirror of
https://github.com/torvalds/linux.git
synced 2026-07-29 02:31:27 +02:00
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>
This commit is contained in:
parent
b4dd3bbd2e
commit
f14eb6a9aa
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user