linux-kernel-test/drivers/media
Mauro Carvalho Chehab 6c428b578b V4L/DVB (12376): em28xx: fix V4L2 API compliance: don't expose audio inputs for devices without it
V4L2 API (chapter 1.5) states that:

	Drivers must implement all input ioctls when the device has one
	or more inputs, all output ioctls when the device has one or more outputs.
	When the device has any audio inputs or outputs the driver must set the
	V4L2_CAP_AUDIO flag in the struct v4l2_capability returned by the
	VIDIOC_QUERYCAP ioctl.

So, devices without audio input should return -EINVAL.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-09-12 12:18:31 -03:00
..
common V4L/DVB (12334): tuner-simple: Add an entry for the Partsnic PTI-5NF05 NTSC tuner 2009-09-12 12:18:10 -03:00
dvb V4L/DVB (12342): af9015: avoid magically sized temporary buffer in eeprom_dump 2009-09-12 12:18:13 -03:00
radio V4L/DVB (12218): radio-si470x: conform to the RDS spec. 2009-09-12 12:17:33 -03:00
video V4L/DVB (12376): em28xx: fix V4L2 API compliance: don't expose audio inputs for devices without it 2009-09-12 12:18:31 -03:00
Kconfig V4L/DVB (11881): one kconfig controls them all 2009-06-16 18:21:16 -03:00
Makefile