mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
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: 4ee236219f ("media: v4l2-fwnode: suppress a warning at OF parsing logic")
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
b24f021579
commit
1526c704b3
2 changed files with 2 additions and 2 deletions
|
|
@ -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];
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue