diff options
author | 2012-08-01 15:52:46 -0300 | |
---|---|---|
committer | 2012-08-11 23:21:01 -0300 | |
commit | aa4d9b53f0d71ff805bbd1e30fcba9d1827a7dd8 (patch) | |
tree | 3c3cc6a610c91020b0b6f708be77552b01101ded /tools/perf/scripts/python/sctop.py | |
parent | [media] mem2mem_testdev: fix querycap regression (diff) | |
download | linux-dev-aa4d9b53f0d71ff805bbd1e30fcba9d1827a7dd8.tar.xz linux-dev-aa4d9b53f0d71ff805bbd1e30fcba9d1827a7dd8.zip |
[media] VIDIOC_ENUM_FREQ_BANDS fix
When VIDIOC_ENUM_FREQ_BANDS is called for a driver that doesn't supply an
enum_freq_bands op, then it will fall back to reporting a single freq band
based on information from g_tuner or g_modulator.
Due to a bug this is an infinite list since the index field wasn't tested.
This patch fixes this and returns -EINVAL if index != 0.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions