diff options
author | Jacopo Mondi <jacopo+renesas@jmondi.org> | 2018-09-17 07:30:57 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-10-04 14:50:44 -0400 |
commit | 1e2cb06f2ae7011b1bb8a9e74fb0884ae3b07a59 (patch) | |
tree | 3376d931d7feac92bd718759b749ade2df4c075b /tools/perf/scripts/python/export-to-postgresql.py | |
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 <laurent.pinchart@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions