diff options
| author | Steve Longerbeam <slongerbeam@gmail.com> | 2019-02-20 18:53:30 -0500 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-03-19 13:40:29 -0400 |
| commit | 107927fa597c99eaeee4f51865ca0956ec71b6a2 (patch) | |
| tree | 35e00f1e7ba53d787fe06cf5408bfba8e86a1669 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 904371f90b2c0c749a5ab75478c129a4682ac3d8 (diff) | |
media: imx: Clear fwnode link struct for each endpoint iteration
In imx_media_create_csi_of_links(), the 'struct v4l2_fwnode_link' must
be cleared for each endpoint iteration, otherwise if the remote port
has no "reg" property, link.remote_port will not be reset to zero.
This was discovered on the i.MX53 SMD board, since the OV5642 connects
directly to ipu1_csi0 and has a single source port with no "reg"
property.
Fixes: 621b08eabcddb ("media: staging/imx: remove static media link arrays")
Signed-off-by: Steve Longerbeam <slongerbeam@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
