]> rtime.felk.cvut.cz Git - vajnamar/linux-xlnx.git/commit
v4l: async: Add a pointer to of_node to struct v4l2_subdev, match it
authorSakari Ailus <sakari.ailus@iki.fi>
Thu, 11 Jun 2015 19:18:01 +0000 (12:18 -0700)
committerBryan Wu <cooloney@gmail.com>
Mon, 15 Jun 2015 18:37:05 +0000 (11:37 -0700)
commit862176512b55ff177fad008cb45ac7adb192300a
tree75e9d2b3bb5c5095de6b674b1699d4db21f73b4f
parentaaf2cbca46a569b1ec4c292b03fbe2a0a1217e2f
v4l: async: Add a pointer to of_node to struct v4l2_subdev, match it

V4L2 async sub-devices are currently matched (OF case) based on the struct
device_node pointer in struct device. LED devices may have more than one
LED, and in that case the OF node to match is not directly the device's
node, but a LED's node.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
drivers/media/v4l2-core/v4l2-async.c
include/media/v4l2-subdev.h