linux_dsm_epyc7002/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
dsbr100.c
Kconfig
lm7000.h
Makefile
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
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
radio-isa.c [media] radio-isa: get rid of warning: no previous prototype 2012-10-27 18:08:02 -02:00
radio-isa.h
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
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-shark2.c [media] shark,shark2: declare resume/suspend functions as static 2012-09-13 17:42:13 -03:00
radio-shark.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
radio-timb.c Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00
radio-trust.c
radio-typhoon.c
radio-wl1273.c [media] radio: set vfl_dir correctly to fix modulator regression 2013-01-24 18:54:14 -02:00
radio-zoltrix.c
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
tef6862.c Drivers: media: remove __dev* attributes. 2013-01-03 15:57:02 -08:00