[GIT PULL FOR v4.17] Various fixes

2018-03-13 Thread Hans Verkuil
The following changes since commit 3f127ce11353fd1071cae9b65bc13add6aec6b90:

  media: em28xx-cards: fix em28xx_duplicate_dev() (2018-03-08 06:06:51 -0500)

are available in the Git repository at:

  git://linuxtv.org/hverkuil/media_tree.git for-v4.17e

for you to fetch changes up to f39b55d1fdcbb9252a60f5923b1e11ded0cd584c:

  rcar-vin: use scratch buffer and always run in continuous mode (2018-03-14 
04:39:15 +0100)


Arnd Bergmann (2):
  media: v4l: omap_vout: vrfb: remove an unused variable
  media: ngene: avoid unused variable warning

Daniel Scheller (1):
  ttpci: improve printing of encoded MAC address

Geert Uytterhoeven (1):
  dt-bindings: media: rcar_vin: Use status "okay"

Guennadi Liakhovetski (1):
  V4L: remove myself as soc-camera maintainer

Hans Verkuil (2):
  imx.rst: fix typo
  pixfmt-v4l2.rst: fix broken enum :c:type:

Niklas Söderlund (2):
  rcar-vin: allocate a scratch buffer at stream start
  rcar-vin: use scratch buffer and always run in continuous mode

 Documentation/devicetree/bindings/media/rcar_vin.txt |   4 ++--
 Documentation/media/uapi/v4l/pixfmt-v4l2.rst |   2 +-
 Documentation/media/v4l-drivers/imx.rst  |   2 +-
 MAINTAINERS  |   3 +--
 drivers/media/pci/ngene/ngene-core.c |   2 +-
 drivers/media/pci/ttpci/ttpci-eeprom.c   |   9 +++--
 drivers/media/platform/omap/omap_vout_vrfb.c |   1 -
 drivers/media/platform/rcar-vin/rcar-dma.c   | 206
++
 drivers/media/platform/rcar-vin/rcar-vin.h   |  10 +-
 9 files changed, 84 insertions(+), 155 deletions(-)


[GIT PULL FOR v4.17] Various fixes

2018-03-09 Thread Hans Verkuil
The following changes since commit 3f127ce11353fd1071cae9b65bc13add6aec6b90:

  media: em28xx-cards: fix em28xx_duplicate_dev() (2018-03-08 06:06:51 -0500)

are available in the Git repository at:

  git://linuxtv.org/hverkuil/media_tree.git for-v4.17c

for you to fetch changes up to 579f4f639b7507ab1bff5ecde52ad4ef3cd565ec:

  cpia2_usb: drop bogus interface-release call (2018-03-09 16:56:47 +0100)


Douglas Fischer (3):
  media: radio: Tuning bugfix for si470x over i2c
  media: radio: Critical v4l2 registration bugfix for si470x over i2c
  media: radio: Critical interrupt bugfix for si470x over i2c

Hans Verkuil (1):
  media: add tuner standby op, use where needed

Hugues Fruchet (4):
  media: stm32-dcmi: fix lock scheme
  media: stm32-dcmi: rework overrun/error case
  media: stm32-dcmi: fix unnecessary parentheses
  media: stm32-dcmi: add JPEG support

Jean-Michel Hautbois (2):
  dt-bindings: media: adv7604: Extend bindings to allow specifying slave 
map addresses
  media: adv7604: Add support for i2c_new_secondary_device

Johan Hovold (1):
  cpia2_usb: drop bogus interface-release call

Kieran Bingham (3):
  media: i2c: adv748x: Simplify regmap configuration
  media: i2c: adv748x: Add missing CBUS page
  media: i2c: adv748x: Add support for i2c_new_secondary_device

Luca Ceresoli (3):
  media: vb2-core: vb2_buffer_done: consolidate docs
  media: vb2-core: document the REQUEUEING state
  media: vb2-core: vb2_ops: document non-interrupt-context calling

Philipp Zabel (1):
  media: imx: add 8-bit grayscale support

 Documentation/devicetree/bindings/media/i2c/adv7604.txt |  18 +++-
 drivers/media/i2c/adv748x/adv748x-core.c| 185 
+---
 drivers/media/i2c/adv748x/adv748x.h |  14 +--
 drivers/media/i2c/adv7604.c |  62 +-
 drivers/media/pci/cx23885/cx23885-core.c|   2 +-
 drivers/media/pci/cx23885/cx23885-dvb.c |   4 +-
 drivers/media/pci/cx88/cx88-cards.c |   2 +-
 drivers/media/pci/cx88/cx88-dvb.c   |   4 +-
 drivers/media/pci/saa7134/saa7134-video.c   |   2 +-
 drivers/media/platform/stm32/stm32-dcmi.c   | 267 
++
 drivers/media/radio/si470x/radio-si470x-common.c|  17 +++-
 drivers/media/radio/si470x/radio-si470x-i2c.c   |  32 ++-
 drivers/media/radio/si470x/radio-si470x.h   |   2 +
 drivers/media/tuners/e4000.c|  16 +---
 drivers/media/tuners/fc2580.c   |  16 +---
 drivers/media/tuners/msi001.c   |  19 +
 drivers/media/usb/au0828/au0828-video.c |   4 +-
 drivers/media/usb/cpia2/cpia2_usb.c |   3 -
 drivers/media/usb/cx231xx/cx231xx-video.c   |   2 +-
 drivers/media/usb/em28xx/em28xx-video.c |   4 +-
 drivers/media/v4l2-core/tuner-core.c|  15 +---
 drivers/staging/media/imx/imx-media-csi.c   |   1 +
 drivers/staging/media/imx/imx-media-utils.c |   8 +-
 include/media/v4l2-subdev.h |   4 +
 include/media/videobuf2-core.h  |  33 +---
 25 files changed, 390 insertions(+), 346 deletions(-)


[GIT PULL FOR v4.17] Various fixes

2018-02-26 Thread Hans Verkuil
The following changes since commit 52e17089d1850774d2ef583cdef2b060b84fca8c:

  media: imx: Don't initialize vars that won't be used (2018-02-26 08:38:57 
-0500)

are available in the Git repository at:

  git://linuxtv.org/hverkuil/media_tree.git for-v4.17b

for you to fetch changes up to c35d71cf9814a1c0d78356eb0564527318aef440:

  media: ov2685: mark PM functions as __maybe_unused (2018-02-26 15:27:34 +0100)


Arnd Bergmann (3):
  media: i2c: TDA1997x: add CONFIG_SND dependency
  media: ov5695: mark PM functions as __maybe_unused
  media: ov2685: mark PM functions as __maybe_unused

Fabio Estevam (2):
  media: imx-media-internal-sd: Use empty initializer
  media: imx-ic-prpencvf: Use empty initializer to clear all struct members

Hans Verkuil (1):
  imx/Kconfig: add depends on HAS_DMA

Hugues Fruchet (4):
  media: stm32-dcmi: remove redundant capture enable
  media: stm32-dcmi: remove redundant clear of interrupt flags
  media: stm32-dcmi: improve error trace points
  media: stm32-dcmi: add g/s_parm framerate support

Kieran Bingham (1):
  media: i2c: adv748x: Fix cleanup jump on chip identification

Parthiban Nallathambi (1):
  media: imx: capture: reformat line to 80 chars or less

Steve Longerbeam (3):
  media: staging/imx: Implement init_cfg subdev pad op
  media: imx: mipi csi-2: Fix set_fmt try
  media: imx.rst: Fix formatting errors

 Documentation/media/v4l-drivers/imx.rst   | 24 +---
 drivers/media/i2c/Kconfig |  2 ++
 drivers/media/i2c/adv748x/adv748x-core.c  |  2 +-
 drivers/media/i2c/ov2685.c|  4 ++--
 drivers/media/i2c/ov5695.c|  4 ++--
 drivers/media/platform/stm32/stm32-dcmi.c | 40 

 drivers/staging/media/imx/Kconfig |  1 +
 drivers/staging/media/imx/imx-ic-prp.c|  1 +
 drivers/staging/media/imx/imx-ic-prpencvf.c   |  3 ++-
 drivers/staging/media/imx/imx-media-capture.c |  3 ++-
 drivers/staging/media/imx/imx-media-csi.c |  1 +
 drivers/staging/media/imx/imx-media-internal-sd.c |  2 +-
 drivers/staging/media/imx/imx-media-utils.c   | 29 
+
 drivers/staging/media/imx/imx-media-vdic.c|  1 +
 drivers/staging/media/imx/imx-media.h |  2 ++
 drivers/staging/media/imx/imx6-mipi-csi2.c| 25 
-
 16 files changed, 104 insertions(+), 40 deletions(-)


[GIT PULL FOR v4.17] Various fixes/improvements

2018-02-15 Thread Hans Verkuil
Fixes/improvements all over the place.

Finally had time to clean out most of the random patches in my queue :-)

Regards,

Hans

The following changes since commit 29422737017b866d4a51014cc7522fa3a99e8852:

  media: rc: get start time just before calling driver tx (2018-02-14 14:17:21 
-0500)

are available in the Git repository at:

  git://linuxtv.org/hverkuil/media_tree.git for-v4.17a

for you to fetch changes up to 262f1f7863999b92165ab1bb9fe0f148cfc826fb:

  media: i2c: adv748x: fix HDMI field heights (2018-02-15 16:04:12 +0100)


Alexandre Courbot (2):
  v4l: vidioc-prepare-buf.rst: fix link to VIDIOC_QBUF
  media: v4l2_fh.h: add missing kconfig.h include

Antonio Cardace (2):
  em28xx: use %*phC to print small buffers
  gspca: dtcs033: use %*ph to print small buffer

Arnd Bergmann (1):
  media: au0828: fix VIDEO_V4L2 dependency

Benjamin Gaignard (1):
  media: platform: stm32: Adopt SPDX identifier

Christopher Díaz Riveros (1):
  media: s2255drv: Remove unneeded if else blocks

Colin Ian King (1):
  media: cx25821: prevent out-of-bounds read on array card

Corentin Labbe (2):
  media: cx18: remove unused cx18-alsa-mixer
  media: ivtv: remove ivtv-alsa-mixer

Gustavo A. R. Silva (9):
  venus: hfi: use true for boolean values
  staging: imx-media-vdic: fix inconsistent IS_ERR and PTR_ERR
  rtl2832: use 64-bit arithmetic instead of 32-bit in rtl2832_set_frontend
  dvb-frontends: ves1820: use 64-bit arithmetic instead of 32-bit
  i2c: max2175: use 64-bit arithmetic instead of 32-bit
  pci: cx88-input: use 64-bit arithmetic instead of 32-bit
  rockchip/rga: use 64-bit arithmetic instead of 32-bit
  platform: sh_veu: use 64-bit arithmetic instead of 32-bit
  platform: vivid-cec: use 64-bit arithmetic instead of 32-bit

Gustavo Padovan (1):
  buffer.rst: fix link text of VIDIOC_QBUF

Hans Verkuil (4):
  vivid: fix incorrect capabilities for radio
  v4l2-ctrls.h: fix wrong copy-and-paste comment
  cec: improve debugging
  vivid: check if the cec_adapter is valid

Ian Douglas Scott (1):
  media: usbtv: Add USB ID 1f71:3306 to the UTV007 driver

Kieran Bingham (2):
  v4l: doc: Clarify v4l2_mbus_fmt height definition
  media: i2c: adv748x: fix HDMI field heights

Masami Hiramatsu (1):
  media: vb2: Fix videobuf2 to map correct area

Niklas Söderlund (1):
  v4l2-dev.h: fix symbol collision in media_entity_to_video_device()

Oliver Neukum (1):
  media: usbtv: prevent double free in error case

Philipp Zabel (4):
  media: dt-bindings: coda: Add compatible for CodaHx4 on i.MX51
  media: coda: Add i.MX51 (CodaHx4) support
  media: imx: allow to build with COMPILE_TEST
  media: coda: bump maximum number of internal framebuffers to 19

Sakari Ailus (1):
  vb2: core: Finish buffers at the end of the stream

Shuah Khan (1):
  media: v4l2-core: v4l2-mc: Add SPDX license identifier

Tomasz Figa (1):
  media: mtk-vcodec: Always signal source change event on format change

Wei Yongjun (2):
  media: atmel-isc: Make local symbol fmt_configs_list static
  media: rcar_drif: fix error return code in rcar_drif_alloc_dmachannels()

Xiongfeng Wang (1):
  media: media-device: use strlcpy() instead of strncpy()

 Documentation/devicetree/bindings/media/coda.txt|   5 +-
 Documentation/media/uapi/v4l/buffer.rst |   2 +-
 Documentation/media/uapi/v4l/subdev-formats.rst |   8 ++-
 Documentation/media/uapi/v4l/vidioc-prepare-buf.rst |   2 +-
 drivers/media/cec/cec-adap.c|  32 +-
 drivers/media/common/videobuf2/videobuf2-core.c |   9 +++
 drivers/media/common/videobuf2/videobuf2-vmalloc.c  |   2 +-
 drivers/media/dvb-frontends/rtl2832.c   |   4 +-
 drivers/media/dvb-frontends/ves1820.c   |   2 +-
 drivers/media/i2c/adv748x/adv748x-hdmi.c|   3 +
 drivers/media/i2c/max2175.c |   2 +-
 drivers/media/media-device.c|   2 +-
 drivers/media/pci/cx18/cx18-alsa-main.c |   1 -
 drivers/media/pci/cx18/cx18-alsa-mixer.c| 170 
---
 drivers/media/pci/cx18/cx18-alsa-mixer.h|  18 --
 drivers/media/pci/cx25821/cx25821-core.c|   7 ++-
 drivers/media/pci/cx88/cx88-input.c |   4 +-
 drivers/media/pci/ivtv/ivtv-alsa-main.c |  11 +---
 drivers/media/pci/ivtv/ivtv-alsa-mixer.c| 165 
-
 drivers/media/pci/ivtv/ivtv-alsa-mixer.h|  18 --
 drivers/media/platform/atmel/atmel-isc.c|   2 +-
 drivers/media/platform/coda/coda-bit.c  |  46 ++
 drivers/media/platform/coda/coda-common.c   |  44 +++--
 drivers/media/platform/coda/coda.h  |