linux/drivers/media
Hans Verkuil 106cf649d0 [media] tuner-core: don't set has_signal/get_afc if not supported
If the tuner frontend does not support get_rf_strength, then don't set
the has_signal callback. Ditto for get_afc.
Both callbacks overwrite the signal and afc fields of struct v4l2_tuner
but that should only happen if the tuner can actually detect this. If
it can't, then it should leave those fields alone so other subdevices
can try and detect the signal/afc.
This fixes the bug where the au8522 detected a signal and then tuner-core
overwrote it with 0 since the xc5000 tuner does not support get_rf_strength.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2013-03-25 15:10:39 -03:00
..
common [media] v4l2: pass std by value to the write-only s_std ioctl 2013-03-24 06:47:00 -03:00
dvb-core [media] dvb-core: don't clear stats at DTV_CLEAR 2013-03-21 10:27:35 -03:00
dvb-frontends [media] au8522_decoder: remove obsolete control ops 2013-03-25 15:10:29 -03:00
firewire [media] remove include/linux/dvb/dmx.h 2012-10-19 07:29:17 -03:00
i2c [media] tw2804: Revert ADC Control commit 523a4f7fbc 2013-03-25 08:13:40 -03:00
mmc [media] siano: get rid of CammelCase from smscoreapi.h 2013-03-21 10:03:16 -03:00
parport [media] v4l2: pass std by value to the write-only s_std ioctl 2013-03-24 06:47:00 -03:00
pci [media] v4l2: add const to argument of write-only s_register ioctl 2013-03-24 08:47:01 -03:00
platform [media] vivi: add v4l2_ctrl_modify_range test case 2013-03-24 14:11:22 -03:00
radio [media] v4l2: add const to argument of write-only s_tuner ioctl 2013-03-24 06:31:23 -03:00
rc [media] rc-core: don't treat dev->rc_map.rc_type as a bitmap 2013-03-23 11:25:54 -03:00
tuners [media] tuner: add Sony BTF tuners 2013-03-24 12:11:35 -03:00
usb [media] au0828: improve firmware loading & locking 2013-03-25 15:10:37 -03:00
v4l2-core [media] tuner-core: don't set has_signal/get_afc if not supported 2013-03-25 15:10:39 -03:00
Kconfig Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media 2013-02-24 17:35:10 -08:00
Makefile [media] move i2c files into drivers/media/i2c 2012-09-06 18:42:54 -03:00
media-device.c [media] media: implement 32-on-64 bit compat IOCTL handling 2013-03-18 20:45:14 -03:00
media-devnode.c [media] media: Add 64--32 bit compat ioctl handler 2013-03-18 20:44:36 -03:00
media-entity.c