]> git.baikalelectronics.ru Git - kernel.git/commit
[media] ivtv: fix v4l2-compliance errors for the radio device
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 1 Oct 2012 09:23:53 +0000 (06:23 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 1 Oct 2012 20:14:27 +0000 (17:14 -0300)
commit60fbba02e33687308d9f4c267766a6905fc04ac3
tree5991c6f693139ba344b54c0b6869134c8bab57e9
parent90d01997a9495df19411ac98b3b40c957721d502
[media] ivtv: fix v4l2-compliance errors for the radio device

- fix error code when attempting to read from write-only streams.
- fix error code when attempting to write to read-only streams.
- don't start capturing when polling on a radio node.
- give the radio node its own file operations struct.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/pci/ivtv/ivtv-fileops.c
drivers/media/pci/ivtv/ivtv-streams.c