1. 06 3月, 2014 1 次提交
    • A
      [media] v4l: add new tuner types for SDR · 84099a28
      Antti Palosaari 提交于
      Define tuner types V4L2_TUNER_ADC and V4L2_TUNER_RF for SDR usage.
      
      ADC is used for setting sampling rate (sampling frequency) to SDR
      device.
      
      Another tuner type, named as V4L2_TUNER_RF, is possible RF tuner.
      Is is used to down-convert RF frequency to range ADC could sample.
      Having RF tuner is optional, whilst in practice it is almost always
      there.
      
      Also add checks to VIDIOC_G_FREQUENCY, VIDIOC_S_FREQUENCY and
      VIDIOC_ENUM_FREQ_BANDS only allow these two tuner types when device
      type is SDR (VFL_TYPE_SDR). For VIDIOC_G_FREQUENCY we do not check
      tuner type, instead override type with V4L2_TUNER_ADC in every
      case (requested by Hans in order to keep functionality in line with
      existing tuners and existing API does not specify it).
      
      Prohibit VIDIOC_S_HW_FREQ_SEEK explicitly when device type is SDR,
      as device cannot do hardware seek without a hardware demodulator.
      Signed-off-by: NAntti Palosaari <crope@iki.fi>
      Acked-by: NHans Verkuil <hans.verkuil@cisco.com>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      84099a28
  2. 07 1月, 2014 1 次提交
  3. 21 6月, 2013 2 次提交
  4. 17 6月, 2013 2 次提交
  5. 13 6月, 2013 1 次提交
  6. 09 6月, 2013 1 次提交
  7. 15 4月, 2013 4 次提交
  8. 25 3月, 2013 2 次提交
  9. 24 3月, 2013 6 次提交
  10. 26 11月, 2012 2 次提交
  11. 07 10月, 2012 2 次提交
  12. 06 10月, 2012 1 次提交
  13. 02 10月, 2012 1 次提交
  14. 27 9月, 2012 1 次提交
  15. 26 9月, 2012 3 次提交
  16. 14 9月, 2012 1 次提交
  17. 14 8月, 2012 1 次提交
  18. 12 8月, 2012 2 次提交
  19. 01 8月, 2012 1 次提交
    • A
      drivers/media/video/v4l2-ioctl.c: fix build · c2cddf99
      Andrew Morton 提交于
      Fix zillions of these:
      
      drivers/media/video/v4l2-ioctl.c:1848: error: unknown field 'func' specified in initializer
      drivers/media/video/v4l2-ioctl.c:1848: warning: missing braces around initializer
      drivers/media/video/v4l2-ioctl.c:1848: warning: (near initialization for 'v4l2_ioctls[0].<anonymous>')
      drivers/media/video/v4l2-ioctl.c:1848: warning: initialization makes integer from pointer without a cast
      drivers/media/video/v4l2-ioctl.c:1848: error: initializer element is not computable at load time
      drivers/media/video/v4l2-ioctl.c:1848: error: (near initialization for 'v4l2_ioctls[0].<anonymous>.offset')
      
      Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      c2cddf99
  20. 31 7月, 2012 4 次提交
  21. 30 7月, 2012 1 次提交