OSDN Git Service

media: v4l: fwnode: Add a helper function to obtain device / integer references
authorSakari Ailus <sakari.ailus@linux.intel.com>
Thu, 22 Jun 2017 12:03:28 +0000 (08:03 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 31 Oct 2017 18:01:59 +0000 (14:01 -0400)
commita1699a4e525dedd2ecd03ce5f92e80c058e14e28
tree8114043cbea5e46faee0c838f242f91eb119d1b5
parentd84285390f0722fb6844880c48fbe7db8a183fc1
media: v4l: fwnode: Add a helper function to obtain device / integer references

v4l2_fwnode_reference_parse_int_prop() will find an fwnode such that under
the device's own fwnode, it will follow child fwnodes with the given
property-value pair and return the resulting fwnode.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/v4l2-core/v4l2-fwnode.c