summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2021-01-27 18:46:35 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-02-06 09:36:55 +0100
commit9fda25332c4b9e193f11f34130b6f3fdbafc11dc (patch)
tree1521e21aa2f441970720b907a04a8414cba8bac8 /net
parent2b585242b8619799fab2d0840f35cc936ed88749 (diff)
media: i2c: imx258: get clock from device properties and enable it via runtime PM
The IMX258 sensor driver checked in device properties for a clock-frequency property which actually does not mean that the clock is really running such frequency or is it even enabled. Get the provided clock and check it frequency. If none is provided, fall back to old property. Enable the clock when accessing the IMX258 registers and when streaming starts with runtime PM. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions