[GIT PULL FOR v4.13] Various fixes

2017-06-23 Thread Hans Verkuil
Little things all over the place.

Hans

The following changes since commit 76724b30f222067faf00874dc277f6c99d03d800:

  [media] media: venus: enable building with COMPILE_TEST (2017-06-20 10:57:08 
-0300)

are available in the git repository at:

  git://linuxtv.org/hverkuil/media_tree.git for-v4.13g

for you to fetch changes up to 49218d3c042530071783f7c1c6c0e70e17679ae7:

  coda: rename the picture run timeout error handler (2017-06-23 13:15:54 +0200)


Arnd Bergmann (2):
  Revert "[media] et8ek8: Export OF device ID as module aliases"
  rainshadow-cec: avoid -Wmaybe-uninitialized warning again

Colin Ian King (1):
  media: venus: fix loop wrap in cleanup of clks

Gustavo A. R. Silva (1):
  radio: wl1273: add check on core->write() return value

Joe Perches (2):
  stkwebcam: Use more common logging styles
  tuner-core: Remove unused #define PREFIX

Markus Elfring (1):
  bdisp-debug: Replace a seq_puts() call by seq_putc() in seven functions

Philipp Zabel (2):
  coda: ctx->codec is not NULL in coda_alloc_framebuffers
  coda: rename the picture run timeout error handler

 drivers/media/i2c/et8ek8/et8ek8_driver.c  |  1 -
 drivers/media/platform/coda/coda-bit.c|  8 
 drivers/media/platform/coda/coda-common.c |  4 ++--
 drivers/media/platform/coda/coda.h|  2 +-
 drivers/media/platform/qcom/venus/core.c  |  2 +-
 drivers/media/platform/sti/bdisp/bdisp-debug.c| 14 +++---
 drivers/media/radio/radio-wl1273.c| 15 +--
 drivers/media/usb/rainshadow-cec/rainshadow-cec.c | 18 --
 drivers/media/usb/stkwebcam/stk-sensor.c  | 32 
++--
 drivers/media/usb/stkwebcam/stk-webcam.c  | 70 
++
 drivers/media/usb/stkwebcam/stk-webcam.h  |  6 --
 drivers/media/v4l2-core/tuner-core.c  |  2 --
 12 files changed, 88 insertions(+), 86 deletions(-)


[GIT PULL FOR v4.13] Various fixes/enhancements

2017-06-19 Thread Hans Verkuil

The following changes since commit acec3630155763c170c7ae6508cf973355464508:

  [media] s3c-camif: fix arguments position in a function call (2017-06-13 
14:21:24 -0300)

are available in the git repository at:

  git://linuxtv.org/hverkuil/media_tree.git for-v4.13f

for you to fetch changes up to abb81a8cd3e779209887c5d757b104d0737be57b:

  s5p-cec: update MAINTAINERS entry (2017-06-19 14:21:04 +0200)


Kieran Bingham (1):
  media: fdp1: Support ES2 platforms

Marek Szyprowski (1):
  s5p-cec: update MAINTAINERS entry

Niklas Söderlund (3):
  v4l: async: check for v4l2_dev in v4l2_async_notifier_register()
  media: entity: Add get_fwnode_pad entity operation
  media: entity: Add media_entity_get_fwnode_pad() function

Tomasz Figa (1):
  v4l2-core: Use kvmalloc() for potentially big allocations

 MAINTAINERS|  7 ---
 drivers/media/media-entity.c   | 36 

 drivers/media/platform/rcar_fdp1.c | 10 +++---
 drivers/media/v4l2-core/v4l2-async.c   |  8 +---
 drivers/media/v4l2-core/v4l2-ctrls.c   | 26 ++
 drivers/media/v4l2-core/v4l2-event.c   |  8 +---
 drivers/media/v4l2-core/v4l2-ioctl.c   |  7 ---
 drivers/media/v4l2-core/v4l2-subdev.c  |  8 +---
 drivers/media/v4l2-core/videobuf2-dma-sg.c |  8 
 include/media/media-entity.h   | 28 
 10 files changed, 112 insertions(+), 34 deletions(-)


[GIT PULL FOR v4.13] Various fixes.

2017-06-16 Thread Hans Verkuil
The following changes since commit acec3630155763c170c7ae6508cf973355464508:

  [media] s3c-camif: fix arguments position in a function call (2017-06-13 
14:21:24 -0300)

are available in the git repository at:

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

for you to fetch changes up to fee3ff6aa339c9bea656a93e726ec042a0271eef:

  i2c: tc358743: remove useless variable assignment in tc358743_isr (2017-06-16 
13:04:09 +0200)


Andrey Utkin (2):
  MAINTAINERS: solo6x10, tw5864: add Anton Sviridenko
  MAINTAINERS: solo6x10: update Andrey Utkin email

Christophe JAILLET (1):
  vb2: Fix error handling in '__vb2_buf_mem_alloc'

Gustavo A. R. Silva (1):
  i2c: tc358743: remove useless variable assignment in tc358743_isr

Kevin Hilman (1):
  davinci: vpif: adaptions for DT support

Lucas Stach (3):
  coda: use correct offset for mvcol buffer
  coda: first step at error recovery
  coda/imx-vdoa: always wait for job completion

 MAINTAINERS   |  4 +++-
 drivers/media/i2c/tc358743.c  |  1 -
 drivers/media/platform/coda/coda-bit.c| 28 
 drivers/media/platform/coda/coda-common.c |  3 +++
 drivers/media/platform/coda/coda.h|  1 +
 drivers/media/platform/coda/imx-vdoa.c| 49 
+
 drivers/media/platform/davinci/vpif.c | 57 
-
 drivers/media/v4l2-core/videobuf2-core.c  |  2 +-
 8 files changed, 121 insertions(+), 24 deletions(-)


[GIT PULL FOR v4.13] Various fixes

2017-06-07 Thread Hans Verkuil
Hi Mauro,

Another set of fixes, including all (I hope) pending atomisp-related patches.

Regards,

Hans

The following changes since commit 6fb05e0dd32e566facb96ea61a48c7488daa5ac3:

  [media] saa7164: fix double fetch PCIe access condition (2017-06-06 16:55:50 
-0300)

are available in the git repository at:

  git://linuxtv.org/hverkuil/media_tree.git for-v4.13d

for you to fetch changes up to b7bbde98a91f1116e4cd95e82708623c62ea936c:

  staging: atomisp: Fix endless recursion in hmm_init (2017-06-07 13:11:14 
+0200)


Alan Cox (10):
  atompisp: HAS_BL is never defined so lose it
  atomisp: remove NUM_OF_BLS
  atomisp2: remove HRT_UNSCHED
  atomisp2: tidy up confused ifdefs
  atomisp: eliminate dead code under HAS_RES_MGR
  atomisp: unify sh_css_hmm_buffer_record_acquire
  atomisp: Unify load_preview_binaries for the most part
  atomisp: Unify lut free logic
  atomisp: remove sh_css_irq - it contains nothing
  atomisp: de-duplicate sh_css_mmu_set_page_table_base_index

Chen Guanqiao (1):
  staging: atomisp: lm3554: fix sparse warnings(was not declared. Should it 
be static?)

Christoph Fanelsa (1):
  staging: media: cxd2099: Fix checkpatch issues

Dan Carpenter (1):
  atomisp2: off by one in atomisp_s_input()

Daniel Kurtz (1):
  media: mtk-mdp: Fix mdp device tree

Hans de Goede (8):
  staging: atomisp: Fix calling efivar_entry_get() with unaligned arguments
  staging: atomisp: Do not call dev_warn with a NULL device
  staging: atomisp: Set step to 0 for mt9m114 menu control
  staging: atomisp: Add INT0310 ACPI id to gc0310 driver
  staging: atomisp: Add OVTI2680 ACPI id to ov2680 driver
  staging: atomisp: Ignore errors from second gpio in ov2680 driver
  staging: atomisp: Make ov2680 driver less chatty
  staging: atomisp: Fix endless recursion in hmm_init

Hirokazu Honda (1):
  mtk-vcodec: Show mtk driver error without DEBUG definition

Jia-Ju Bai (2):
  ivtv: Fix a sleep-in-atomic bug in snd_ivtv_pcm_hw_free
  cx18: Fix a sleep-in-atomic bug in snd_cx18_pcm_hw_free

Juan Antonio Pedreira Martos (1):
  staging: media: atomisp: fix non static symbol warnings

Kevin Hilman (4):
  davinci: vpif_capture: drop compliance hack
  davinci: vpif_capture: get subdevs from DT when available
  davinci: vpif_capture: cleanup raw camera support
  davinci: vpif: adaptions for DT support

Minghsiu Tsai (1):
  dt-bindings: mt8173: Fix mdp device tree

Paolo Cretaro (1):
  atomisp: use NULL instead of 0 for pointers

Philipp Zabel (2):
  coda: implement forced key frames
  coda: copy headers in front of every I-frame

 Documentation/devicetree/bindings/media/mediatek-mdp.txt |  12 
+-
 drivers/media/pci/cx18/cx18-alsa-pcm.c   |   4 
+-
 drivers/media/pci/ivtv/ivtv-alsa-pcm.c   |   4 
+-
 drivers/media/platform/coda/coda-bit.c   |  21 
++-
 drivers/media/platform/coda/coda-common.c|   3 
+
 drivers/media/platform/coda/coda.h   |   1 
+
 drivers/media/platform/davinci/vpif.c|  49 
+-
 drivers/media/platform/davinci/vpif_capture.c| 223 
+++---
 drivers/media/platform/davinci/vpif_display.c|   5 
+
 drivers/media/platform/mtk-mdp/mtk_mdp_core.c|  12 
+-
 drivers/media/platform/mtk-vcodec/mtk_vcodec_util.h  |  20 
++-
 drivers/staging/media/atomisp/i2c/gc0310.c   |   1 
+
 drivers/staging/media/atomisp/i2c/lm3554.c   |   4 
+-
 drivers/staging/media/atomisp/i2c/mt9m114.c  |   2 
+-
 drivers/staging/media/atomisp/i2c/ov2680.c   |  15 
+-
 drivers/staging/media/atomisp/i2c/ov5693/ov5693.c|   2 
+-
 drivers/staging/media/atomisp/pci/atomisp2/Makefile  |   1 
-
 drivers/staging/media/atomisp/pci/atomisp2/atomisp_ioctl.c   |   2 
+-
 drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c|   4 
+-
 drivers/staging/media/atomisp/pci/atomisp2/css2400/ia_css_mmu_private.h  |   2 
-
 .../media/atomisp/pci/atomisp2/css2400/isp/modes/interface/isp_const.h   |  16 
--
 .../media/atomisp/pci/atomisp2/css2400/isp/modes/interface/isp_exprs.h   |  23 
---
 .../media/atomisp/pci/atomisp2/css2400/runtime/binary/src/binary.c   |  34 

 .../staging/media/atomisp/pci/atomisp2/css2400/runtime/bufq/src/bufq.c   |   2 
+-
 .../media/atomisp/pci/atomisp2/css2400/runtime/debug/src/ia_css_debug.c  |   7 
-
 .../media/atomisp/pci/atomisp2/css2400/runtime/spctrl/src/spctrl.c   |  10 
+-
 

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

2017-06-06 Thread Hans Verkuil
The following changes since commit 6fb05e0dd32e566facb96ea61a48c7488daa5ac3:

  [media] saa7164: fix double fetch PCIe access condition (2017-06-06 16:55:50 
-0300)

are available in the git repository at:

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

for you to fetch changes up to 44cdbd59e84ad2562b760455ac24c7114672ca8f:

  tc358743: Add support for platforms without IRQ line (2017-06-06 22:31:15 
+0200)


Arvind Yadav (1):
  tc358743: Handle return value of clk_prepare_enable

Dave Stevenson (3):
  tc358743: Add enum_mbus_code
  tc358743: Setup default mbus_fmt before registering
  tc358743: Add support for platforms without IRQ line

Hans Verkuil (1):
  cec: improve debug messages

Hugues Fruchet (1):
  atmel-isi: code cleanup

Sakari Ailus (2):
  v4l2-ctrls.c: Implement unlocked variant of v4l2_ctrl_handler_setup()
  v4l2-ctrls: Correctly destroy mutex in v4l2_ctrl_handler_free()

 drivers/media/cec/cec-adap.c | 28 
 drivers/media/i2c/tc358743.c | 65 
+++--
 drivers/media/platform/atmel/atmel-isi.c | 24 ++--
 drivers/media/v4l2-core/v4l2-ctrls.c | 24 +---
 include/media/v4l2-ctrls.h   | 13 +
 5 files changed, 123 insertions(+), 31 deletions(-)


[GIT PULL FOR v4.13] Various fixes

2017-05-22 Thread Hans Verkuil
Various fixes for 4.13.

The following changes since commit 36bcba973ad478042d1ffc6e89afd92e8bd17030:

  [media] mtk_vcodec_dec: return error at mtk_vdec_pic_info_update() 
(2017-05-19 07:12:05 -0300)

are available in the git repository at:

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

for you to fetch changes up to 196cb7e2b8becf9f4e81457d4335a1c2beee41bc:

  em28xx: fix spelling mistake: "missdetected" -> "misdetected" (2017-05-22 
11:18:41 +0200)


Benjamin Gaignard (2):
  cec: stih: allow to use max CEC logical addresses
  cec: stih: fix typos in comments

Colin Ian King (2):
  cx18: fix spelling mistake: "demodualtor" -> "demodulator"
  em28xx: fix spelling mistake: "missdetected" -> "misdetected"

Daniel Roschka (1):
  uvcvideo: Quirk for webcam in MacBook Pro 2016

Devin Heitmueller (12):
  cx88: Fix regression in initial video standard setting
  mxl111sf: Fix driver to use heap allocate buffers for USB messages
  au8522: don't attempt to configure unsupported VBI slicer
  au8522: don't touch i2c master registers on au8522
  au8522: rework setup of audio routing
  au8522: remove note about VBI not being implemented
  au8522: remove leading bit for register writes
  au8522 Remove 0x4 bit for register reads
  au8522: fix lock detection to be more reliable.
  xc5000: Don't spin waiting for analog lock
  au8522: Set the initial modulation
  au0828: Add timer to restart TS stream if no data arrives on bulk endpoint

Frank Schaefer (1):
  em28xx: fix+improve the register (usb control message) debugging

Gustavo A. R. Silva (2):
  media: platform: coda: remove variable self assignment
  media: i2c: initialize scalar variables

Hans Verkuil (1):
  v4l2-ioctl.c: always copy G/S_EDID result

Johan Hovold (1):
  usbvision: add missing USB-descriptor endianness conversions

Oleh Kravchenko (1):
  cx231xx: Initial support Astrometa T2hybrid

Pan Bian (3):
  m5602_s5k83a: check return value of kthread_create
  cobalt: fix unchecked return values
  cx25840: fix unchecked return values

Peter Boström (1):
  uvcvideo: Add iFunction or iInterface to device names.

Petr Cvek (4):
  pxa_camera: Add remaining Bayer 8 formats
  pxa_camera: Fix incorrect test in the image size generation
  pxa_camera: Add (un)subscribe_event ioctl
  pxa_camera: Fix a call with an uninitialized device pointer

Philipp Zabel (1):
  coda: simplify optional reset handling

Rene Hickersberger (1):
  media: s5p-cec: Fixed spelling mistake

Songjun Wu (1):
  atmel-isc: Set the default DMA memory burst size

Thomas Hollstegge (1):
  em28xx: support for Sundtek MediaTV Digital Home

 drivers/media/dvb-frontends/au8522_common.c   |   1 +
 drivers/media/dvb-frontends/au8522_decoder.c  |  74 +--
 drivers/media/dvb-frontends/au8522_dig.c  | 215 
+++---
 drivers/media/i2c/cx25840/cx25840-core.c  |  36 +
 drivers/media/i2c/ov2659.c|   3 +-
 drivers/media/pci/cobalt/cobalt-driver.c  |   2 +
 drivers/media/pci/cx18/cx18-dvb.c |   2 +-
 drivers/media/pci/cx88/cx88-cards.c   |   9 ++-
 drivers/media/pci/cx88/cx88-video.c   |   2 +-
 drivers/media/platform/atmel/atmel-isc.c  |  23 +++---
 drivers/media/platform/coda/coda-common.c |  13 +---
 drivers/media/platform/pxa_camera.c   |  51 ++---
 drivers/media/platform/s5p-cec/s5p_cec.c  |   2 +-
 drivers/media/platform/sti/cec/stih-cec.c |   7 +-
 drivers/media/tuners/xc5000.c |  26 +--
 drivers/media/usb/au0828/au0828-dvb.c |  30 
 drivers/media/usb/au0828/au0828.h |   2 +
 drivers/media/usb/cx231xx/Kconfig |   2 +
 drivers/media/usb/cx231xx/cx231xx-cards.c |  34 +
 drivers/media/usb/cx231xx/cx231xx-dvb.c   |  49 +
 drivers/media/usb/cx231xx/cx231xx.h   |   1 +
 drivers/media/usb/dvb-usb-v2/mxl111sf-i2c.c   |   4 +-
 drivers/media/usb/dvb-usb-v2/mxl111sf.c   |  32 
 drivers/media/usb/dvb-usb-v2/mxl111sf.h   |   8 +-
 drivers/media/usb/em28xx/em28xx-cards.c   |  19 -
 drivers/media/usb/em28xx/em28xx-core.c|  35 -
 drivers/media/usb/em28xx/em28xx-dvb.c |   1 +
 drivers/media/usb/em28xx/em28xx.h |   1 +
 drivers/media/usb/gspca/m5602/m5602_s5k83a.c  |   5 ++
 drivers/media/usb/usbvision/usbvision-video.c |   4 +-
 drivers/media/usb/uvc/uvc_driver.c|  34 -
 drivers/media/v4l2-core/v4l2-ioctl.c  |  31 +---
 32 files changed, 462 insertions(+), 296 deletions(-)