diff options
| author | Steve Longerbeam <[email protected]> | 2017-12-14 20:04:45 -0500 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2017-12-15 14:08:03 -0500 |
| commit | bd9d208a04e0db4f66255c24ff37e49069d274ee (patch) | |
| tree | 183d393d1fb3215e215f6a3128cee7b714f70b15 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 9f6a0c59eba91c116f6cd7a487f4929faa07a7f8 (diff) | |
media: staging/imx: convert static vdev lists to list_head
Although not technically necessary because imx-media has only a
maximum of 8 video devices, and once setup the video device lists
are static, in anticipation of moving control ineritance to
v4l2-core, make the vdev lists more generic by converting to
dynamic list_head's.
After doing that, 'struct imx_media_pad' is now just a list_head
of video devices reachable from a pad. Allocate an array of list_head's,
one list_head for each pad, and attach that array to sd->host_priv.
An entry in the pad lists is of type 'struct imx_media_pad_vdev', and
points to a video device from the master list.
Signed-off-by: Steve Longerbeam <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions