diff options
author | Janusz Krzysztofik <jmkrzyszt@gmail.com> | 2019-03-29 21:06:09 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-04-22 11:33:03 -0400 |
commit | ccdd85d518d8b9320ace1d87271f0ba2175f21fa (patch) | |
tree | b39aa15e485a11792b8e61c0b59130c44dfa6e1a /fs | |
parent | 933c1320847f5ed6b61a7d10f0a948aa98ccd7b0 (diff) | |
download | linux-ccdd85d518d8b9320ace1d87271f0ba2175f21fa.tar.gz |
media: ov6650: Move v4l2_clk_get() to ov6650_video_probe() helper
In preparation for adding asynchronous subdevice support to the driver,
don't acquire v4l2_clk from the driver .probe() callback as that may
fail if the clock is provided by a bridge driver which may be not yet
initialized. Move the v4l2_clk_get() to ov6650_video_probe() helper
which is going to be converted to v4l2_subdev_internal_ops.registered()
callback, executed only when the bridge driver is ready.
Signed-off-by: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions