linux/drivers/media
Hans Verkuil aa4d9b53f0 [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>
2012-08-11 23:21:01 -03:00
..
common [media] xc5000: Add MODULE_FIRMWARE statements 2012-07-30 23:31:42 -03:00
dvb [media] lgs8gxx: Declare MODULE_FIRMWARE usage 2012-07-30 23:46:36 -03:00
radio [media] si470x: v4l2-compliance fixes 2012-08-11 15:41:25 -03:00
rc [media] Add support for the IguanaWorks USB IR Transceiver 2012-07-30 21:53:49 -03:00
video [media] VIDIOC_ENUM_FREQ_BANDS fix 2012-08-11 23:21:01 -03:00
Kconfig [media] Kconfig: Split the core support options from the driver ones 2012-07-06 09:12:59 -03:00
Makefile
media-device.c [media] media: fix truncated entity specification 2011-12-20 09:31:50 -02:00
media-devnode.c Disintegrate and delete asm/system.h 2012-03-28 15:58:21 -07:00
media-entity.c [media] media: Add link_validate() op to check links to the sink pad 2012-05-14 08:44:11 -03:00