27 Jan, 2015

1 commit

  • Convert a call to init_timer and accompanying intializations of
    the timer's data and function fields to a call to setup_timer.

    A simplified version of the semantic match that fixes this problem is as
    follows: (http://coccinelle.lip6.fr/)

    //
    @@
    expression t,f,d;
    @@

    -init_timer(&t);
    +setup_timer(&t,f,d);
    -t.function = f;
    -t.data = d;
    //

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

    Julia Lawall
     

12 Dec, 2014

1 commit

  • Pull media updates from Mauro Carvalho Chehab:
    - Two new dvb frontend drivers: mn88472 and mn88473
    - A new driver for some PCIe DVBSky cards
    - A new remote controller driver: meson-ir
    - One LIRC staging driver got rewritten and promoted to mainstream:
    igorplugusb
    - A new tuner driver (m88rs6000t)
    - The old omap2 media driver got removed from staging. This driver
    uses an old DMA API and it is likely broken on recent kernels.
    Nobody cared enough to fix it
    - Media bus format moved to a separate header, as DRM will also use the
    definitions there
    - mem2mem_testdev were renamed to vim2m, in order to use the same
    naming convention taken by the other virtual test driver (vivid)
    - Added a new driver for coda SoC (coda-jpeg)
    - The cx88 driver got converted to use videobuf2 core
    - Make DMABUF export buffer to work with DMA Scatter/Gather and Vmalloc
    cores
    - Lots of other fixes, improvements and cleanups on the drivers.

    * tag 'media/v3.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (384 commits)
    [media] mn88473: One function call less in mn88473_init() after error
    [media] mn88473: Remove uneeded check before release_firmware()
    [media] lirc_zilog: Deletion of unnecessary checks before vfree()
    [media] MAINTAINERS: Add myself as img-ir maintainer
    [media] img-ir: Don't set driver's module owner
    [media] img-ir: Depend on METAG or MIPS or COMPILE_TEST
    [media] img-ir/hw: Drop [un]register_decoder declarations
    [media] img-ir/hw: Fix potential deadlock stopping timer
    [media] img-ir/hw: Always read data to clear buffer
    [media] redrat3: ensure dma is setup properly
    [media] ddbridge: remove unneeded check before dvb_unregister_device()
    [media] si2157: One function call less in si2157_init() after error
    [media] tuners: remove uneeded checks before release_firmware()
    [media] arm: omap2: rx51-peripherals: fix build warning
    [media] stv090x: add an extra protetion against buffer overflow
    [media] stv090x: Remove an unreachable code
    [media] stv090x: Some whitespace cleanups
    [media] em28xx: checkpatch cleanup: whitespaces/new lines cleanups
    [media] si2168: add support for firmware files in new format
    [media] si2168: debug printout for firmware version
    ...

    Linus Torvalds
     

25 Nov, 2014

1 commit


22 Nov, 2014

1 commit


11 Nov, 2014

1 commit

  • qlock spinlock controls access to buf_list and sequence.
    qlock spinlock should not be locked during a copy to video buffers, an
    operation that may sleep.

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

    sensoray-dev
     

03 Sep, 2014

1 commit

  • drivers/media/usb/s2255/s2255drv.c:2248:20: warning: cast to restricted __le16

    At the USB structs there are two different idProduct:
    usb_device_id::idProduct - already on CPU endiannes
    usb_device::descriptor.idProduct - with is LE16

    In this specific case, the driver checks for the one at usb_device_id
    struct, with already have CPU endianness. So, no conversion is required.

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

    Hans Verkuil
     

05 Jul, 2014

1 commit


23 May, 2014

2 commits


23 Apr, 2014

1 commit

  • 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
     

25 Mar, 2014

1 commit

  • commit 340a30c514 "s2255drv: upgrade to videobuf2" changed the API
    used by the s2255 driver, but did not modify the Kconfig statement,
    which can lead to build errors when no other driver already uses
    VIDEOBUF2_VMALLOC. This patch does the necessary Kconfig change.

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

    Arnd Bergmann
     

11 Mar, 2014

1 commit


06 Mar, 2014

1 commit


01 Mar, 2014

8 commits


04 Feb, 2014

1 commit


02 Aug, 2013

1 commit


24 Mar, 2013

1 commit

  • This ioctl is defined as IOW, so pass the argument by value instead of by
    reference. I could have chosen to add const instead, but this is 1) easier
    to handle in drivers and 2) consistent with the s_std subdev operation.

    Signed-off-by: Hans Verkuil
    Acked-by: Laurent Pinchart
    Acked-by: Jonathan Corbet
    Acked-by: Guennadi Liakhovetski
    Acked-by: Lad, Prabhakar
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     

06 Mar, 2013

11 commits


21 Dec, 2012

1 commit


28 Oct, 2012

1 commit


26 Sep, 2012

1 commit


16 Aug, 2012

2 commits