mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
media: v4l: fwnode: Initialise the V4L2 fwnode endpoints to zero
Initialise the V4L2 fwnode endpoints to zero in all drivers using v4l2_fwnode_endpoint_parse(). This prepares for setting default endpoint flags as well as the bus type. Setting bus type to zero will continue to guess the bus among the guessable set (parallel, Bt.656 and CSI-2 D-PHY). Signed-off-by: Sakari Ailus <[email protected]> Tested-by: Steve Longerbeam <[email protected]> Tested-by: Jacopo Mondi <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
32593dd038
commit
60359a28d5
24 changed files with 30 additions and 26 deletions
|
|
@ -139,6 +139,8 @@ struct v4l2_fwnode_link {
|
|||
* set the V4L2_MBUS_CSI2_CONTINUOUS_CLOCK flag. The caller should hold a
|
||||
* reference to @fwnode.
|
||||
*
|
||||
* The caller must set the bus_type field of @vep to zero.
|
||||
*
|
||||
* NOTE: This function does not parse properties the size of which is variable
|
||||
* without a low fixed limit. Please use v4l2_fwnode_endpoint_alloc_parse() in
|
||||
* new drivers instead.
|
||||
|
|
|
|||
Loading…
Reference in a new issue