10 Aug, 2013

1 commit

  • Pull media fixes from Mauro Carvalho Chehab:
    "Some driver fixes (em28xx, coda, usbtv, s5p, hdpvr and ml86v7667) and
    a fix for media DocBook"

    * 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media:
    [media] em28xx: fix assignment of the eeprom data
    [media] hdpvr: fix iteration over uninitialized lists in hdpvr_probe()
    [media] usbtv: fix dependency
    [media] usbtv: Throw corrupted frames away
    [media] usbtv: Fix deinterlacing
    [media] v4l2: added missing mutex.h include to v4l2-ctrls.h
    [media] DocBook: upgrade media_api DocBook version to 4.2
    [media] ml86v7667: fix compile warning: 'ret' set but not used
    [media] s5p-g2d: Fix registration failure
    [media] media: coda: Fix DT driver data pointer for i.MX27
    [media] s5p-mfc: Fix input/output format reporting

    Linus Torvalds
     

26 Jul, 2013

9 commits

  • Set the config structure pointer to the eeprom data pointer (data,
    here eedata dereferenced) not the pointer to the pointer to
    the eeprom data (eedata itself).

    Signed-off-by: Alban Browaeys
    Signed-off-by: Frank Schäfer
    Cc: stable@vger.kernel.org # for v3.10
    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Alban Browaeys
     
  • free_buff_list and rec_buff_list are initialized in the middle of hdpvr_probe(),
    but if something bad happens before that, error handling code calls hdpvr_delete(),
    which contains iteration over the lists (via hdpvr_free_buffers()).
    The patch moves the lists initialization to the beginning and by the way fixes
    goto label in error handling of registering videodev.
    Found by Linux Driver Verification project (linuxtesting.org).

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

    Alexey Khoroshilov
     
  • This fixes a dependency problem as found by Randy Dunlap:
    https://lkml.org/lkml/2013/6/27/501

    Reported-by: Randy Dunlap
    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     
  • Ignore out of order data and mark incomplete buffers as errored.
    This gets rid of annoying flicker due to occassional garbage from hardware.

    Signed-off-by: Lubomir Rintel
    Cc: Hans Verkuil
    Cc: Mauro Carvalho Chehab
    Cc: linux-kernel@vger.kernel.org
    Cc: linux-media@vger.kernel.org
    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Lubomir Rintel
     
  • The image data is laid out a bit more weirdly and thus needs more work to
    properly interlace. What we get from hardware is V4L2_FIELD_ALTERNATE, but
    since userspace support for it is practically nonexistent, thus we make
    V4L2_FIELD_INTERLACED from it so that it's more easily interpreted.

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

    Lubomir Rintel
     
  • media_build/v4l/ml86v7667.c: In function 'ml86v7667_s_ctrl':
    media_build/v4l/ml86v7667.c:120:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
    int ret;
    ^
    And indeed, ret is set but not used. Let's actually return the error
    code.

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

    Hans Verkuil
     
  • Commit 1c1d86a1ea ("[media] v4l2: always require v4l2_dev,
    rename parent to dev_parent") expects v4l2_dev to be always set.
    It converted most of the drivers using the parent field of video_device
    to v4l2_dev field. G2D driver did not set the parent field. Hence it got
    left out. Without this patch we get the following boot warning and G2D
    driver fails to register the video device.
    WARNING: CPU: 0 PID: 1 at drivers/media/v4l2-core/v4l2-dev.c:775 __video_register_device+0xfc0/0x1028()
    Modules linked in:
    CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.11.0-rc1-00001-g1c3e372-dirty #9
    [] (unwind_backtrace+0x0/0xf4) from [] (show_stack+0x10/0x14)
    [] (show_stack+0x10/0x14) from [] (dump_stack+0x7c/0xb0)
    [] (dump_stack+0x7c/0xb0) from [] (warn_slowpath_common+0x6c/0x88)
    [] (warn_slowpath_common+0x6c/0x88) from [] (warn_slowpath_null+0x1c/0x24)
    [] (warn_slowpath_null+0x1c/0x24) from [] (__video_register_device+0xfc0/0x1028)
    [] (__video_register_device+0xfc0/0x1028) from [] (g2d_probe+0x1f8/0x398)
    [] (g2d_probe+0x1f8/0x398) from [] (platform_drv_probe+0x14/0x18)
    [] (platform_drv_probe+0x14/0x18) from [] (driver_probe_device+0x108/0x220)
    [] (driver_probe_device+0x108/0x220) from [] (__driver_attach+0x8c/0x90)
    [] (__driver_attach+0x8c/0x90) from [] (bus_for_each_dev+0x60/0x94)
    [] (bus_for_each_dev+0x60/0x94) from [] (bus_add_driver+0x1c0/0x24c)
    [] (bus_add_driver+0x1c0/0x24c) from [] (driver_register+0x78/0x140)
    [] (driver_register+0x78/0x140) from [] (do_one_initcall+0xf8/0x144)
    [] (do_one_initcall+0xf8/0x144) from [] (kernel_init_freeable+0x13c/0x1d8)
    [] (kernel_init_freeable+0x13c/0x1d8) from [] (kernel_init+0xc/0x160)
    [] (kernel_init+0xc/0x160) from [] (ret_from_fork+0x14/0x3c)
    ---[ end trace 4e0ec028b0028e02 ]---
    s5p-g2d 12800000.g2d: Failed to register video device
    s5p-g2d: probe of 12800000.g2d failed with error -22

    Signed-off-by: Sachin Kamat
    Cc: Hans Verkuil
    Signed-off-by: Kamil Debski
    Signed-off-by: Mauro Carvalho Chehab

    Sachin Kamat
     
  • The data pointer should point to DT data, and not to the ID
    array.

    Signed-off-by: Alexander Shiyan
    Signed-off-by: Kamil Debski
    Signed-off-by: Mauro Carvalho Chehab

    Alexander Shiyan
     
  • The video encode/decode paths have duplicated logic between
    VIDIOC_TRY_FMT and VIDIOC_S_FMT that should be de-duped. Also, video
    decode reports V4L2_PIX_FMT_NV12MT_16X16 output format, regardless of
    what the actual output has been set at. Fix this.

    Signed-off-by: John Sheu
    Signed-off-by: Kamil Debski
    Signed-off-by: Mauro Carvalho Chehab

    John Sheu
     

16 Jul, 2013

1 commit


14 Jul, 2013

1 commit

  • Pull media updates from Mauro Carvalho Chehab:
    "This series contain:
    - new i2c video drivers: ml86v7667 (video decoder),
    ths8200 (video encoder)
    - a new video driver for EasyCap cards based on Fushicai USBTV007
    - Improved support for OF and embedded systems, with V4L2 async
    initialization and a better support for clocks
    - API cleanups on the ioctls used by the v4l2 debug tool
    - Lots of cleanups
    - As usual, several driver improvements and new cards additions
    - Revert two changesets that change the minimal symbol rate for
    stv0399, as request by Manu
    - Update MAINTAINERS and other files to point to my new e-mail"

    * 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (378 commits)
    MAINTAINERS & ABI: Update to point to my new email
    [media] stb0899: restore minimal rate to 5Mbauds
    [media] exynos4-is: Correct colorspace handling at FIMC-LITE
    [media] exynos4-is: Set valid initial format on FIMC.n subdevs
    [media] exynos4-is: Set valid initial format on FIMC-IS-ISP subdev pads
    [media] exynos4-is: Fix format propagation on FIMC-IS-ISP subdev
    [media] exynos4-is: Set valid initial format at FIMC-LITE
    [media] exynos4-is: Fix format propagation on FIMC-LITE.n subdevs
    [media] MAINTAINERS: Update S5P/Exynos FIMC driver entry
    [media] Documentation: Update driver's directory in video4linux/fimc.txt
    [media] exynos4-is: Change fimc-is firmware file names
    [media] exynos4-is: Add support for Exynos5250 MIPI-CSIS
    [media] exynos4-is: Add Exynos5250 SoC support to fimc-lite driver
    [media] exynos4-is: Drop drvdata handling in fimc-lite for non-dt platforms
    [media] media: i2c: tvp514x: remove manual setting of subdev name
    [media] media: i2c: tvp7002: remove manual setting of subdev name
    [media] mem2mem: set missing v4l2_dev pointer
    [media] wl128x: add missing struct v4l2_device
    [media] tvp514x: Fix init seqeunce
    [media] saa7134: Fix sparse warnings by adding __user annotation
    ...

    Linus Torvalds
     

11 Jul, 2013

1 commit


05 Jul, 2013

2 commits

  • According with Manu Abraham, stb0899 seek algorithm is broken
    for symbol rates bellow to 5Mbauds. So, revert those patches:

    55b3318 [media] stb0899: allow minimum symbol rate of 2000000
    2eeed77 [media] stb0899: allow minimum symbol rate of 1000000

    Requested-by: Manu Abraham
    Signed-off-by: Mauro Carvalho Chehab

    Mauro Carvalho Chehab
     
  • Pull trivial tree updates from Jiri Kosina:
    "The usual stuff from trivial tree"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (34 commits)
    treewide: relase -> release
    Documentation/cgroups/memory.txt: fix stat file documentation
    sysctl/net.txt: delete reference to obsolete 2.4.x kernel
    spinlock_api_smp.h: fix preprocessor comments
    treewide: Fix typo in printk
    doc: device tree: clarify stuff in usage-model.txt.
    open firmware: "/aliasas" -> "/aliases"
    md: bcache: Fixed a typo with the word 'arithmetic'
    irq/generic-chip: fix a few kernel-doc entries
    frv: Convert use of typedef ctl_table to struct ctl_table
    sgi: xpc: Convert use of typedef ctl_table to struct ctl_table
    doc: clk: Fix incorrect wording
    Documentation/arm/IXP4xx fix a typo
    Documentation/networking/ieee802154 fix a typo
    Documentation/DocBook/media/v4l fix a typo
    Documentation/video4linux/si476x.txt fix a typo
    Documentation/virtual/kvm/api.txt fix a typo
    Documentation/early-userspace/README fix a typo
    Documentation/video4linux/soc-camera.txt fix a typo
    lguest: fix CONFIG_PAE -> CONFIG_x86_PAE in comment
    ...

    Linus Torvalds
     

04 Jul, 2013

4 commits

  • Merge first patch-bomb from Andrew Morton:
    - various misc bits
    - I'm been patchmonkeying ocfs2 for a while, as Joel and Mark have been
    distracted. There has been quite a bit of activity.
    - About half the MM queue
    - Some backlight bits
    - Various lib/ updates
    - checkpatch updates
    - zillions more little rtc patches
    - ptrace
    - signals
    - exec
    - procfs
    - rapidio
    - nbd
    - aoe
    - pps
    - memstick
    - tools/testing/selftests updates

    * emailed patches from Andrew Morton : (445 commits)
    tools/testing/selftests: don't assume the x bit is set on scripts
    selftests: add .gitignore for kcmp
    selftests: fix clean target in kcmp Makefile
    selftests: add .gitignore for vm
    selftests: add hugetlbfstest
    self-test: fix make clean
    selftests: exit 1 on failure
    kernel/resource.c: remove the unneeded assignment in function __find_resource
    aio: fix wrong comment in aio_complete()
    drivers/w1/slaves/w1_ds2408.c: add magic sequence to disable P0 test mode
    drivers/memstick/host/r592.c: convert to module_pci_driver
    drivers/memstick/host/jmb38x_ms: convert to module_pci_driver
    pps-gpio: add device-tree binding and support
    drivers/pps/clients/pps-gpio.c: convert to module_platform_driver
    drivers/pps/clients/pps-gpio.c: convert to devm_* helpers
    drivers/parport/share.c: use kzalloc
    Documentation/accounting/getdelays.c: avoid strncpy in accounting tool
    aoe: update internal version number to v83
    aoe: update copyright date
    aoe: perform I/O completions in parallel
    ...

    Linus Torvalds
     
  • Calling kthread_run with a single name parameter causes it to be handled
    as a format string. Many callers are passing potentially dynamic string
    content, so use "%s" in those cases to avoid any potential accidents.

    Signed-off-by: Kees Cook
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kees Cook
     
  • For the workqueue creation interfaces that do not expect format strings,
    make sure they cannot accidently be parsed that way. Additionally, clean
    up calls made with a single parameter that would be handled as a format
    string. Many callers are passing potentially dynamic string content, so
    use "%s" in those cases to avoid any potential accidents.

    Signed-off-by: Kees Cook
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kees Cook
     
  • Pull "exotic" arch fixes from Geert Uytterhoeven:
    "This is a collection of several exotic architecture fixes, and a few
    other fixes for issues that were detected while doing the former"

    * 'exotic-arch-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k: (35 commits)
    lib: Move fonts from drivers/video/console/ to lib/fonts/
    console/font: Refactor font support code selection logic
    Revert "staging/solo6x10: depend on CONFIG_FONTS"
    input: cros_ec_keyb_clear_keyboard() depends on CONFIG_PM_SLEEP
    score: Wire up asm-generic/xor.h
    score: Remove unneeded
    openrisc: Wire up asm-generic/xor.h
    h8300/boot: Use POSIX "$((..))" instead of bashism "$[...]"
    h8300: Mark H83002 and H83048 CPU support broken
    h8300: Switch h8300 to drivers/Kconfig
    h8300: Limit timer channel ranges in Kconfig
    h8300: Wire up asm-generic/xor.h
    h8300: Fill the system call table using a CALL() macro
    h8300: Fix
    h8300: Hardcode symbol prefixes in asm sources
    h8300: add missing definition for read_barries_depends()
    frv: head.S - Remove commented-out initialization code
    cris: Wire up asm-generic/vga.h
    parport: disable PC-style parallel port support on cris
    console: Disable VGA text console support on cris
    ...

    Linus Torvalds
     

03 Jul, 2013

1 commit

  • Pull ARM SoC specific changes from Arnd Bergmann:
    "These changes are all to SoC-specific code, a total of 33 branches on
    17 platforms were pulled into this. Like last time, Renesas sh-mobile
    is now the platform with the most changes, followed by OMAP and
    EXYNOS.

    Two new platforms, TI Keystone and Rockchips RK3xxx are added in this
    branch, both containing almost no platform specific code at all, since
    they are using generic subsystem interfaces for clocks, pinctrl,
    interrupts etc. The device drivers are getting merged through the
    respective subsystem maintainer trees.

    One more SoC (u300) is now multiplatform capable and several others
    (shmobile, exynos, msm, integrator, kirkwood, clps711x) are moving
    towards that goal with this series but need more work.

    Also noteworthy is the work on PCI here, which is traditionally part
    of the SoC specific code. With the changes done by Thomas Petazzoni,
    we can now more easily have PCI host controller drivers as loadable
    modules and keep them separate from the platform code in
    drivers/pci/host. This has already led to the discovery that three
    platforms (exynos, spear and imx) are actually using an identical PCIe
    host controller and will be able to share a driver once support for
    spear and imx is added."

    * tag 'soc-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (480 commits)
    ARM: integrator: let pciv3 use mem/premem from device tree
    ARM: integrator: set local side PCI addresses right
    ARM: dts: Add pcie controller node for exynos5440-ssdk5440
    ARM: dts: Add pcie controller node for Samsung EXYNOS5440 SoC
    ARM: EXYNOS: Enable PCIe support for Exynos5440
    pci: Add PCIe driver for Samsung Exynos
    ARM: OMAP5: voltagedomain data: remove temporary OMAP4 voltage data
    ARM: keystone: Move CPU bringup code to dedicated asm file
    ARM: multiplatform: always pick one CPU type
    ARM: imx: select syscon for IMX6SL
    ARM: keystone: select ARM_ERRATA_798181 only for SMP
    ARM: imx: Synertronixx scb9328 needs to select SOC_IMX1
    ARM: OMAP2+: AM43x: resolve SMP related build error
    dmaengine: edma: enable build for AM33XX
    ARM: edma: Add EDMA crossbar event mux support
    ARM: edma: Add DT and runtime PM support to the private EDMA API
    dmaengine: edma: Add TI EDMA device tree binding
    arm: add basic support for Rockchip RK3066a boards
    arm: add debug uarts for rockchip rk29xx and rk3xxx series
    arm: Add basic clocks for Rockchip rk3066a SoCs
    ...

    Linus Torvalds
     

29 Jun, 2013

20 commits

  • Ensure the colorspace is properly adjusted by the driver for YUV
    and Bayer image formats. The subdev try_fmt helper is simplified.

    Signed-off-by: Sylwester Nawrocki
    Signed-off-by: Kyungmin Park
    Signed-off-by: Mauro Carvalho Chehab

    Sylwester Nawrocki
     
  • Ensure there are valid initial image formats on the FIMC.n subdev pads.

    Signed-off-by: Sylwester Nawrocki
    Signed-off-by: Kyungmin Park
    Signed-off-by: Mauro Carvalho Chehab

    Sylwester Nawrocki
     
  • Ensure there is a valid initial resolution and pixel format set
    at the FIMC-IS-ISP subdev pads.

    Signed-off-by: Sylwester Nawrocki
    Signed-off-by: Kyungmin Park
    Signed-off-by: Mauro Carvalho Chehab

    Sylwester Nawrocki
     
  • Ensure TRY formats are propagated from the sink pad to the source pads
    of the FIMC-IS-ISP subdev and the TRY and ACTIVE formats are separated.

    [mchehab@redhat.com: Whitespace cleanup]
    Signed-off-by: Sylwester Nawrocki
    Signed-off-by: Kyungmin Park

    Signed-off-by: Mauro Carvalho Chehab

    Sylwester Nawrocki
     
  • Ensure the image resolution and crop rectangle on the FIMC-LITE.n
    subdevs and fimc-lite.n.capture video nodes is properly configured
    upon the driver's initialization.

    Signed-off-by: Sylwester Nawrocki
    Signed-off-by: Kyungmin Park
    Signed-off-by: Mauro Carvalho Chehab

    Sylwester Nawrocki
     
  • FIMC-LITE subdevs have one sink pad and two source pads on which the image
    formats are always same. This patch implements missing format propagation
    from the sink pad to the source pads, to allow user space to negotiate TRY
    format on whole media pipeline involving FIMC-LITE.n subdevs. The subdev
    try_fmt helper is simplified.

    Signed-off-by: Sylwester Nawrocki
    Signed-off-by: Jacek Anaszewski
    Signed-off-by: Kyungmin Park
    Signed-off-by: Mauro Carvalho Chehab

    Sylwester Nawrocki
     
  • This patch changes the firmware file names of the FIMC-IS subsystem.
    It is needed since there are different firmwares used across various
    SoC series, e.g. Exynos4 and Exynos5.
    Also the sensor specific "setfile" name is changed, to account for
    it depends on an image sensor and is also specific to the FIMC-IS
    and the SoC.
    This is a change for a driver merged in 3.10.

    Signed-off-by: Sylwester Nawrocki
    Signed-off-by: Kyungmin Park
    Signed-off-by: Mauro Carvalho Chehab

    Sylwester Nawrocki
     
  • Add compatible property for the Exynos5250 and enable the frame start
    and frame end interrupts. These interrupts are needed for the Exynos5
    FIMC-IS firmware. The driver enables those interrupt only where available,
    depending on the 'compatible' property. This can be optimized further,
    by exposing some API at the subdev driver, so the host driver can enable
    extra interrupts only for the image processing chains involving FIMC-IS.

    Signed-off-by: Shaik Ameer Basha
    Signed-off-by: Sylwester Nawrocki
    Signed-off-by: Kyungmin Park

    Sylwester Nawrocki
     
  • This patch adds support for the Exynos5250 SoC variant of the FIMC-LITE
    IP. A 'compatible' string is added for Exynos5250 compatible devices
    and the capture DMA handling is reworked to use the FLITE_REG_CIFCNTSEQ
    register, masking output DMA buffer address slots. The frame interrupt
    is enabled so there are now 2 interrupts per frame. This likely can be
    optimized in future by using any status registers that allow to figure
    out what the last and the currently written frame buffer is. It would
    also be more reliable in cases where there are high interrupt service
    latencies.

    Signed-off-by: Shaik Ameer Basha
    Signed-off-by: Arun Kumar K
    Signed-off-by: Sylwester Nawrocki
    Signed-off-by: Kyungmin Park

    Sylwester Nawrocki
     
  • The FIMC-LITE IP block is available only on platforms instantiated
    from device tree.

    Signed-off-by: Sylwester Nawrocki
    Signed-off-by: Kyungmin Park
    Signed-off-by: Mauro Carvalho Chehab

    Sylwester Nawrocki
     
  • This patch removes manual setting of subdev name in the
    probe, ideally subdev names must be unique.

    Signed-off-by: Lad, Prabhakar
    Cc: Hans Verkuil
    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Lad, Prabhakar
     
  • This patch removes manual setting of subdev name in the
    probe, ideally subdev names must be unique.

    Signed-off-by: Lad, Prabhakar
    Cc: Hans Verkuil
    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Lad, Prabhakar
     
  • The m2m-deinterlace, mem2mem_testdev and mx2_emmaprp drivers didn't set
    the v4l2_dev pointer in struct video_device, even though a v4l2_device was
    registered correctly. These days this v4l2_dev pointer must be set correctly,
    so this patch adds that for these three drivers.

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

    Hans Verkuil
     
  • This struct is now required for all video device nodes, but it was missing
    in this driver.

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

    Hans Verkuil
     
  • client->driver->id_table will always point to the first entry in the device id
    table. So all devices will use the same init sequence. Use the id table entry
    that gets passed to the driver's probe() function to get the right init
    sequence.

    Signed-off-by: Lars-Peter Clausen
    Acked-by: Lad, Prabhakar
    Tested-by: Lad, Prabhakar
    Signed-off-by: Hans Verkuil
    Signed-off-by: Mauro Carvalho Chehab

    Lars-Peter Clausen
     
  • Adding a __user annotation fixes the following sparse warnings.
    drivers/media/pci/saa7134/saa7134-video.c:1578:45: warning:
    incorrect type in initializer (different address spaces)
    drivers/media/pci/saa7134/saa7134-video.c:1578:45:
    expected struct v4l2_clip *clips
    drivers/media/pci/saa7134/saa7134-video.c:1578:45:
    got struct v4l2_clip [noderef] *clips
    drivers/media/pci/saa7134/saa7134-video.c:1589:26: warning:
    incorrect type in assignment (different address spaces)
    drivers/media/pci/saa7134/saa7134-video.c:1589:26:
    expected struct v4l2_clip [noderef] *clips
    drivers/media/pci/saa7134/saa7134-video.c:1589:26:
    got struct v4l2_clip *clips

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

    Emil Goode
     
  • build/media_build/v4l/saa7164-core.c: In function 'saa7164_initdev':
    build/media_build/v4l/saa7164-core.c:1192:6: warning: 'err' may be used uninitialized in this function [-Wmaybe-uninitialized]
    int err, i;
    ^

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

    Hans Verkuil
     
  • media-git/drivers/media/platform/omap/omap_vout.c: In function ‘omapvid_init’:
    media-git/drivers/media/platform/omap/omap_vout.c:382:17: warning: ‘mode’ may be used uninitialized in this function [-Wmaybe-uninitialized]
    vout->dss_mode = video_mode_to_dss_mode(vout);
    ^
    media-git/drivers/media/platform/omap/omap_vout.c:332:23: note: ‘mode’ was declared here
    enum omap_color_mode mode;
    ^

    Signed-off-by: Hans Verkuil
    Cc: Laurent Pinchart
    Cc: Prabhakar Lad
    Acked-by: Lad, Prabhakar
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     
  • media-git/drivers/media/platform/blackfin/bfin_capture.c: In function ‘bcap_probe’:
    media-git/drivers/media/platform/blackfin/bfin_capture.c:1007:16: warning: ignoring return value of ‘vb2_queue_init’, declared with attribute warn_unused_result [-Wunused-result]
    vb2_queue_init(q);
    ^

    Signed-off-by: Hans Verkuil
    Acked-by: Scott Jiang
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil
     
  • build/media_build/v4l/ml86v7667.c: In function 'ml86v7667_s_ctrl':
    build/media_build/v4l/ml86v7667.c:120:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
    int ret = 0;
    ^

    Signed-off-by: Hans Verkuil
    Cc: Vladimir Barinov
    Signed-off-by: Mauro Carvalho Chehab

    Hans Verkuil