diff options
| author | Jacopo Mondi <[email protected]> | 2018-09-17 07:30:57 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2018-10-04 14:50:44 -0400 |
| commit | 1e2cb06f2ae7011b1bb8a9e74fb0884ae3b07a59 (patch) | |
| tree | 3376d931d7feac92bd718759b749ade2df4c075b /tools/perf/scripts/python | |
| parent | a7f9d21e9e96dea2e41d82e08ea2a55afdadd741 (diff) | |
media: i2c: adv748x: Register only enabled inputs
The adv748x assumes input endpoints are always enabled, and registers
a subdevice for each of them when the corresponding output subdevice
is registered.
Fix this by conditionally registering the input subdevice only if it is
actually described in device tree.
Tested-by: Laurent Pinchart <[email protected]>
Signed-off-by: Jacopo Mondi <[email protected]>
Signed-off-by: Kieran Bingham <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions