2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-24 05:04:00 +08:00
linux-next/drivers/media/v4l2-core
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
..
Kconfig [media] media/v4l2: VIDEOBUF2_DMA_CONTIG should depend on HAS_DMA 2013-03-18 18:03:18 -03:00
Makefile [media] v4l: Don't compile v4l2-int-device unless really needed 2013-01-06 10:46:40 -02:00
tuner-core.c [media] tuner-core: don't set has_signal/get_afc if not supported 2013-03-25 15:10:39 -03:00
v4l2-common.c [media] v4l2: add new VIDIOC_DBG_G_CHIP_NAME ioctl 2013-03-25 09:31:05 -03:00
v4l2-compat-ioctl32.c [media] v4l2 core: remove the obsolete dv_preset support 2013-03-24 13:49:17 -03:00
v4l2-ctrls.c [media] v4l2-ctrls: add V4L2_CID_MPEG_VIDEO_REPEAT_SEQ_HEADER control 2013-03-24 12:02:08 -03:00
v4l2-dev.c [media] v4l2: add new VIDIOC_DBG_G_CHIP_NAME ioctl 2013-03-25 09:31:05 -03:00
v4l2-device.c [media] use IS_ENABLED() macro 2013-02-06 09:24:09 -02:00
v4l2-event.c [media] V4L: Add v4l2_event_subdev_unsubscribe() helper function 2013-02-05 15:04:55 -02:00
v4l2-fh.c [media] v4l, smiapp, smiapp-pll, adp1653: Update contact information 2012-11-21 13:34:50 -02:00
v4l2-int-device.c
v4l2-ioctl.c [media] v4l2: add new VIDIOC_DBG_G_CHIP_NAME ioctl 2013-03-25 09:31:05 -03:00
v4l2-mem2mem.c [media] v4l2-mem2mem: drop rdy_queue on STREAMOFF 2013-03-19 15:13:33 -03:00
v4l2-subdev.c [media] v4l: Don't warn during link validation when encountering a V4L2 devnode 2012-11-22 12:09:49 -02:00
videobuf2-core.c [media] videobuf2-core: print current state of buffer in vb2_buffer_done 2013-03-25 09:15:53 -03:00
videobuf2-dma-contig.c [media] videobuf2: add gfp_flags 2013-03-21 13:17:51 -03:00
videobuf2-dma-sg.c [media] vb2-dma-sg: add debug module option 2013-03-21 13:25:15 -03:00
videobuf2-memops.c [media] v4l: vb2-dma-contig: let mmap method to use dma_mmap_coherent call 2012-11-25 17:20:25 -02:00
videobuf2-vmalloc.c [media] videobuf2: add gfp_flags 2013-03-21 13:17:51 -03:00
videobuf-core.c [media] v4l: Tell user space we're using monotonic timestamps 2012-12-21 11:20:51 -02:00
videobuf-dma-contig.c
videobuf-dma-sg.c mm: kill vma flag VM_RESERVED and mm->reserved_vm counter 2012-10-09 16:22:19 +09:00
videobuf-dvb.c
videobuf-vmalloc.c mm: kill vma flag VM_RESERVED and mm->reserved_vm counter 2012-10-09 16:22:19 +09:00