21 Oct, 2015

1 commit

  • Replace struct v4l2_format * with void * to make queue_setup()
    for common use.
    And then, modify all device drivers related with this change.

    Signed-off-by: Junghak Sung
    Signed-off-by: Geunyoung Kim
    Acked-by: Seung-Woo Kim
    Acked-by: Inki Dae
    Signed-off-by: Hans Verkuil
    [hans.verkuil@cisco.com: fix missing const in fimc-lite.c]

    Signed-off-by: Mauro Carvalho Chehab

    Junghak Sung
     

26 Sep, 2015

1 commit


10 Jun, 2015

2 commits


06 Jun, 2015

1 commit

  • This has been on my TODO list for some time now: the control that enables the video
    loopback was part of the controls of the video output device instead of the video
    capture device. In practice this was quite annoying since you expect it at the capture
    side since that's where you want to make the decision whether to use the TPG or looped
    video.

    This patch moves the control from the output to the capture side.

    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     

05 Jun, 2015

1 commit

  • Document the new Transfer Function control (and fix the documentation for
    the other colorspace controls which were not quite correct).

    Mention the support for 4:2:0 and more multiplanar formats.

    Update the TODO list at the end.

    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     

21 May, 2015

1 commit


01 May, 2015

1 commit


08 Apr, 2015

1 commit


03 Apr, 2015

2 commits


14 Feb, 2015

1 commit

  • The patch "module: fix types of device tables aliases" newly requires that
    invocations of

    MODULE_DEVICE_TABLE(type, name);

    come *after* the definition of `name'. That is reasonable, but some
    drivers weren't doing this. Fix them.

    Cc: James Bottomley
    Cc: Andrey Ryabinin
    Cc: David Miller
    Cc: Hans Verkuil
    Acked-by: Mauro Carvalho Chehab
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andrew Morton
     

30 Jan, 2015

1 commit


23 Dec, 2014

1 commit


17 Dec, 2014

1 commit


15 Nov, 2014

1 commit

  • In order to have subsytem agnostic media bus format definitions we've
    moved media bus definition to include/uapi/linux/media-bus-format.h and
    prefixed values with MEDIA_BUS_FMT instead of V4L2_MBUS_FMT.

    Reference new definitions in all platform drivers.

    Signed-off-by: Boris Brezillon
    Acked-by: Hans Verkuil
    Acked-by: Sakari Ailus
    Acked-by: Sekhar Nori
    Acked-by: Lad, Prabhakar
    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Boris BREZILLON
     

11 Nov, 2014

1 commit

  • Needed due to some important regression fixes at RC core.

    * commit 'v3.18-rc4': (587 commits)
    Linux 3.18-rc4
    ARM: dts: zynq: Enable PL clocks for Parallella
    tiny: rename ENABLE_DEV_COREDUMP to ALLOW_DEV_COREDUMP
    tiny: reverse logic for DISABLE_DEV_COREDUMP
    i2c: core: Dispose OF IRQ mapping at client removal time
    i2c: at91: don't account as iowait
    i2c: remove FSF address
    USB: Update default usb-storage delay_use value in kernel-parameters.txt
    sysfs: driver core: Fix glue dir race condition by gdp_mutex
    MIPS: Fix build with binutils 2.24.51+
    xfs: track bulkstat progress by agino
    xfs: bulkstat error handling is broken
    xfs: bulkstat main loop logic is a mess
    xfs: bulkstat chunk-formatter has issues
    xfs: bulkstat chunk formatting cursor is broken
    xfs: bulkstat btree walk doesn't terminate
    mm: Fix comment before truncate_setsize()
    USB: cdc-acm: add quirk for control-line state requests
    tty: Fix pty master poll() after slave closes v2
    MIPS: R3000: Fix debug output for Virtual page number
    ...

    Conflicts:
    drivers/media/rc/rc-main.c

    Mauro Carvalho Chehab
     

04 Nov, 2014

1 commit

  • The default used to be that the first vivid device instance was
    single planar, the second multi planar, the third single planar, etc.

    However, that turned out to be unexpected and awkward. Change the
    driver to always default to single planar.

    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     

03 Nov, 2014

1 commit


11 Oct, 2014

1 commit

  • Pull media updates from Mauro Carvalho Chehab:

    - new IR driver: hix5hd2-ir

    - the virtual test driver (vivi) was replaced by vivid, with has an
    almost complete set of features to emulate most v4l2 devices and
    properly test all sorts of userspace apps

    - the as102 driver had several bugs fixed and was properly split into a
    frontend and a core driver. With that, it got promoted from staging
    into mainstream

    - one new CI driver got added for CIMaX SP2/SP2HF (sp2 driver)

    - one new frontend driver for Toshiba ISDB-T/ISDB-S demod (tc90522)

    - one new PCI driver for ISDB-T/ISDB-S (pt3 driver)

    - saa7134 driver got support for go7007-based devices

    - added a new PCI driver for Techwell 68xx chipsets (tw68)

    - a new platform driver was added (coda)

    - new tuner drivers: mxl301rf and qm1d1c0042

    - a new DVB USB driver was added for DVBSky S860 & similar devices

    - added a new SDR driver (hackrf)

    - usbtv got audio support

    - several platform drivers are now compiled with COMPILE_TEST

    - a series of compiler fixup patches, making sparse/spatch happier with
    the media stuff and removing several warnings, especially on those
    platform drivers that didn't use to compile on x86

    - Support for several new modern devices got added

    - lots of other fixes, improvements and cleanups

    * tag 'media/v3.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (544 commits)
    [media] ir-hix5hd2: fix build on c6x arch
    [media] pt3: fix DTV FE I2C driver load error paths
    Revert "[media] media: em28xx - remove reset_resume interface"
    [media] exynos4-is: fix some warnings when compiling on arm64
    [media] usb drivers: use %zu instead of %zd
    [media] pci drivers: use %zu instead of %zd
    [media] dvb-frontends: use %zu instead of %zd
    [media] s5p-mfc: Fix several printk warnings
    [media] s5p_mfc_opr: Fix warnings
    [media] ti-vpe: Fix typecast
    [media] s3c-camif: fix dma_addr_t printks
    [media] s5p_mfc_opr_v6: get rid of warnings when compiled with 64 bits
    [media] s5p_mfc_opr_v5: Fix lots of warnings on x86_64
    [media] em28xx: Fix identation
    [media] drxd: remove a dead code
    [media] saa7146: remove return after BUG()
    [media] cx88: remove return after BUG()
    [media] cx88: fix cards table CodingStyle
    [media] radio-sf16fmr2: declare some structs as static
    [media] radio-sf16fmi: declare pnp_attached as static
    ...

    Linus Torvalds
     

26 Sep, 2014

3 commits


22 Sep, 2014

1 commit

  • This is useful to test teletext capture applications like alevt and mtt.

    It also fixes a previously undetected bug where the PAL VBI start line
    of the second field was off by one. Using the new field start defines
    helps a lot fixing such bugs.

    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     

03 Sep, 2014

1 commit


26 Jul, 2014

1 commit


17 Jul, 2014

2 commits


05 Jul, 2014

1 commit


24 May, 2014

1 commit


23 May, 2014

1 commit


23 Apr, 2014

2 commits

  • The vb2 core ignores any return code from the stop_streaming op.
    And there really isn't anything it can do anyway in case of an error.
    So change the return type to void and update any drivers that implement it.

    The int return gave drivers the idea that this operation could actually
    fail, but that's really not the case.

    The pwc amd sdr-msi3101 drivers both had this construction:

    if (mutex_lock_interruptible(&s->v4l2_lock))
    return -ERESTARTSYS;

    This has been updated to just call mutex_lock(). The stop_streaming op
    expects this to really stop streaming and I very much doubt this will
    work reliably if stop_streaming just returns without really stopping the
    DMA.

    Signed-off-by: Hans Verkuil
    Acked-by: Pawel Osciak
    Acked-by: Sakari Ailus
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     
  • Two new devices were added, but the cardlists weren't updated.

    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     

17 Apr, 2014

1 commit

  • For interlaced HDTV timings the correct field setting is FIELD_ALTERNATE,
    not INTERLACED. Update this template driver accordingly:

    - add check for the invalid combination of read() and FIELD_ALTERNATE.
    - in the interrupt handler set v4l2_buffer field to alternating TOP and
    BOTTOM.

    Signed-off-by: Hans Verkuil
    Acked-by: Sakari Ailus
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     

14 Mar, 2014

2 commits


11 Mar, 2014

1 commit


06 Mar, 2014

1 commit


05 Mar, 2014

2 commits