diff options
| author | Josh Wu <[email protected]> | 2015-10-28 07:48:55 -0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2015-11-17 15:19:52 -0200 |
| commit | dc51b7d015b6a5da00fd5e61a798607294e31a3d (patch) | |
| tree | 65214ed726313f016e89147453777ed8662aa8ba /tools/perf/scripts/python | |
| parent | 3d83078a081a2bac7639d09404d85085368c8b66 (diff) | |
[media] v4l2-clk: v4l2_clk_get() also need to find the of_fullname clock
The soc-camera host will be probed and register a v4l2_clk, but if at
that moment, the i2c device is not available, then the registered
v4l2_clk name is an OF string not a I2C string.
So when i2c sensor probes and calls v4l2_clk_get(), it only searches a
clock with I2C string, like "1-0030".
This patch will search the clock with OF string name if no clock with
I2C string name could be found.
Signed-off-by: Josh Wu <[email protected]>
Signed-off-by: Guennadi Liakhovetski <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions