diff options
| author | Pawe? Chmiel <[email protected]> | 2018-12-29 10:46:01 -0500 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2019-01-16 11:28:16 -0500 |
| commit | 49710c32cd9d6626a77c9f5f978a5f58cb536b35 (patch) | |
| tree | be575dfc82336db4af0d54273f0ab777e2880bb2 /tools/perf/scripts/python/netdev-times.py | |
| parent | 656025850074f5c1ba2e05be37bda57ba2b8d491 (diff) | |
media: s5p-jpeg: Check for fmt_ver_flag when doing fmt enumeration
Previously when doing format enumeration, it was returning all
formats supported by driver, even if they're not supported by hw.
Add missing check for fmt_ver_flag, so it'll be fixed and only those
supported by hw will be returned. Similar thing is already done
in s5p_jpeg_find_format.
It was found by using v4l2-compliance tool and checking result
of VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS test
and using v4l2-ctl to get list of all supported formats.
Tested on s5pv210-galaxys (Samsung i9000 phone).
Fixes: bb677f3ac434 ("[media] Exynos4 JPEG codec v4l2 driver")
Signed-off-by: Pawe? Chmiel <[email protected]>
Reviewed-by: Jacek Anaszewski <[email protected]>
[[email protected]: fix a few alignment issues]
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions