OpenCloudOS-Kernel/drivers/media/radio
Hans Verkuil ce4a3d5288 [media] radio: set vfl_dir correctly to fix modulator regression
The vfl_dir field should be set to indicate whether a device can receive
data, output data or can do both. This is used to let the v4l core know
which ioctls should be accepted and which can be refused.
Unfortunately, when this field was added the radio modulator drivers were
not updated: radio modulators transmit and so vfl_dir should be set to
VFL_DIR_TX (or VFL_DIR_M2M in the special case of wl128x).
Because of this omission it is not possible to call g/s_modulator for these
drivers, which effectively renders them useless.
This patch sets the correct vfl_dir value for these drivers, correcting
this bug.
Thanks to Paul Grinberg for bringing this to my attention.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2013-01-24 18:54:14 -02:00
..
si470x Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
wl128x [media] radio: set vfl_dir correctly to fix modulator regression 2013-01-24 18:54:14 -02:00
Kconfig [media] shark2: New driver for the Griffin radioSHARK v2 USB radio receiver 2012-07-30 18:46:17 -03:00
Makefile [media] shark2: New driver for the Griffin radioSHARK v2 USB radio receiver 2012-07-30 18:46:17 -03:00
dsbr100.c [media] dsbr100: clean up and update to the latest v4l2 framework 2012-05-04 15:01:14 -03:00
lm7000.h [media] radio: Add Sanyo LM7000 tuner driver 2012-06-25 11:07:27 -03:00
radio-aimslab.c [media] radio-aimslab.c: get rid of warning: no previous prototype 2012-10-27 18:07:44 -02:00
radio-aztech.c [media] Add missing slab.h to fix linux-next compile errors 2012-03-19 11:25:12 -03:00
radio-cadet.c [media] drivers/media/radio/radio-cadet.c: fix error return code 2012-11-22 14:20:34 -02:00
radio-gemtek.c [media] radio-gemtek: add PnP support for AOpen FX-3D/Pro Radio 2012-04-10 19:53:19 -03:00
radio-isa.c [media] radio-isa: get rid of warning: no previous prototype 2012-10-27 18:08:02 -02:00
radio-isa.h [media] radio-isa: PnP support for the new ISA radio framework 2012-04-10 19:52:16 -03:00
radio-keene.c [media] radio: set vfl_dir correctly to fix modulator regression 2013-01-24 18:54:14 -02:00
radio-maxiradio.c Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
radio-miropcm20.c [media] v4l2: make vidioc_s_audio const 2012-09-26 10:50:12 -03:00
radio-mr800.c [media] radio drivers: in non-blocking mode return EAGAIN in hwseek 2012-09-26 17:51:41 -03:00
radio-rtrack2.c [media] radio-rtrack2: add missing slab.h 2012-03-30 16:41:29 -03:00
radio-sf16fmi.c Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
radio-sf16fmr2.c Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
radio-shark.c [media] shark,shark2: declare resume/suspend functions as static 2012-09-13 17:42:13 -03:00
radio-shark2.c [media] shark,shark2: declare resume/suspend functions as static 2012-09-13 17:42:13 -03:00
radio-si4713.c [media] radio: set vfl_dir correctly to fix modulator regression 2013-01-24 18:54:14 -02:00
radio-tea5764.c Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
radio-tea5777.c [media] radio drivers: in non-blocking mode return EAGAIN in hwseek 2012-09-26 17:51:41 -03:00
radio-tea5777.h [media] radio-shark2: Add support for suspend & resume 2012-09-13 17:42:11 -03:00
radio-terratec.c [media] Add missing slab.h to fix linux-next compile errors 2012-03-19 11:25:12 -03:00
radio-timb.c Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
radio-trust.c [media] Add missing slab.h to fix linux-next compile errors 2012-03-19 11:25:12 -03:00
radio-typhoon.c [media] Add missing slab.h to fix linux-next compile errors 2012-03-19 11:25:12 -03:00
radio-wl1273.c [media] radio: set vfl_dir correctly to fix modulator regression 2013-01-24 18:54:14 -02:00
radio-zoltrix.c [media] Add missing slab.h to fix linux-next compile errors 2012-03-19 11:25:12 -03:00
saa7706h.c Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
si4713-i2c.c radio tea5764, si4713: get rid of warning: no previous prototype 2012-10-28 07:39:06 -02:00
si4713-i2c.h [media] radio-si4713: Add regulator framework support 2010-12-29 08:16:35 -02:00
tef6862.c Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00