diff options
author | Sakari Ailus <sakari.ailus@linux.intel.com> | 2017-08-14 13:22:14 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-08-26 20:51:57 +0300 |
commit | 1526c704b3c32640b5e6cdc1662b0698603e9d4f (patch) | |
tree | 27702798027d35c301dc4239d4eacb44559e8e29 /include/media | |
parent | b24f021579c5384ea9ba22decec84e757d5fbd09 (diff) | |
download | linux-1526c704b3c32640b5e6cdc1662b0698603e9d4f.tar.xz |
media: v4l: fwnode: The clock lane is the first lane in lane_polarities
The clock lane is the first lane in the lane_polarities array. Reflect this
consistently by putting the number of data lanes after the number of clock
lanes.
Fixes: 4ee236219f6d ("media: v4l2-fwnode: suppress a warning at OF parsing logic")
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/media')
-rw-r--r-- | include/media/v4l2-fwnode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/v4l2-fwnode.h b/include/media/v4l2-fwnode.h index cb34dcb0bb65..08e743fb7944 100644 --- a/include/media/v4l2-fwnode.h +++ b/include/media/v4l2-fwnode.h @@ -42,7 +42,7 @@ struct v4l2_fwnode_bus_mipi_csi2 { unsigned char data_lanes[MAX_DATA_LANES]; unsigned char clock_lane; unsigned short num_data_lanes; - bool lane_polarities[MAX_DATA_LANES + 1]; + bool lane_polarities[1 + MAX_DATA_LANES]; }; /** |