diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2018-07-19 11:22:49 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-10-04 16:23:12 -0400 |
commit | e7b2f5185e4cc44c11d01f0aac162837829b72f1 (patch) | |
tree | 5e3e7ccb9b2bfd2335182bb8939f42fe7628cb51 /Documentation/ide | |
parent | 3eb32c264d893156256c33bdfdfbd71dbb996b5b (diff) | |
download | linux-e7b2f5185e4cc44c11d01f0aac162837829b72f1.tar.bz2 |
media: v4l: fwnode: Use V4L2 fwnode endpoint media bus type if set
Use the given media bus type set by the caller. If none is given (i.e. the
mbus type is V4L2_MBUS_UNKNOWN, or 0), fall back to the old behaviour.
This is to obtain the information from the DT or try to guess the bus
type.
-ENXIO is returned if the caller sets the bus type but that does not match
with what's in DT. Also return -ENXIO if bus type detection failed to
separate this from the rest of the errors.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Tested-by: Steve Longerbeam <steve_longerbeam@mentor.com>
Tested-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'Documentation/ide')
0 files changed, 0 insertions, 0 deletions