media: adv748x: Zero entire struct v4l2_fwnode_endpoint
authorSakari Ailus <sakari.ailus@linux.intel.com>
Wed, 30 Sep 2020 11:49:15 +0000 (13:49 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 16 Nov 2020 09:31:13 +0000 (10:31 +0100)
commit1726b976a6aa58d0182a3094db266072acf6bb66
treeae69ddfdabf6b700ad01766f605be10d33b8dfb4
parentd7dc892dd46d8d5c733b39c6631a7f616cc95d94
media: adv748x: Zero entire struct v4l2_fwnode_endpoint

The v4l2_fwnode_parse_endpoint() function can make use of defaults in
multiple bus types. To use this feature, all callers must zero the rest of
the fields of this struct, too. All other drivers appear to do that
already apart from this one.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/adv748x/adv748x-core.c