[GIT PULL FOR v4.20] Various fixes

2018-10-12 Thread Hans Verkuil
The following changes since commit 8caec72e8cbff65afa38928197bea5a393b67975:

  media: vivid: Support 480p for webcam capture (2018-10-09 10:37:54 -0400)

are available in the Git repository at:

  git://linuxtv.org/hverkuil/media_tree.git tags/br-v4.20h

for you to fetch changes up to 4c6d2269ad271ceae049e7e13c3754982cd694bb:

  cec: increase debug level for 'queue full' (2018-10-12 13:13:35 +0200)


Tag branch


Hans Verkuil (3):
  vicodec: lower minimum height to 360
  cec: check for non-OK/NACK conditions while claiming a LA
  cec: increase debug level for 'queue full'

Nathan Chancellor (1):
  media: tc358743: Remove unnecessary self assignment

 drivers/media/cec/cec-adap.c  | 49 
++---
 drivers/media/i2c/tc358743.c  |  1 -
 drivers/media/platform/vicodec/vicodec-core.c |  2 +-
 3 files changed, 39 insertions(+), 13 deletions(-)


[GIT PULL FOR v4.20] Various fixes

2018-10-08 Thread Hans Verkuil
Hi Mauro,

Final pull request for 4.20 with odd 'n ends.

Regards,

Hans

The following changes since commit 557c97b5133669297be561e6091da9ab6e488e65:

  media: cec: name for RC passthrough device does not need 'RC for' (2018-10-05 
11:28:13 -0400)

are available in the Git repository at:

  git://linuxtv.org/hverkuil/media_tree.git tags/br2-for-v4.20f

for you to fetch changes up to 295c6b7abc1beca6a3897e7aa4283f68a2d890d7:

  media: vivid: Add 16-bit bayer to format list (2018-10-08 17:20:41 +0200)


Tag branch


Biju Das (1):
  media: dt-bindings: media: rcar_vin: add device tree support for r8a7744

Bård Eirik Winther (2):
  media: v4l2-tpg-core: Add 16-bit bayer
  media: vivid: Add 16-bit bayer to format list

Colin Ian King (5):
  media: bttv-input: make const array addr_list static
  media: ivtv: make const array addr_list static
  media: cx23885: make const array addr_list static
  media: exynos4-is: make const array config_ids static
  media: cx231xx: fix potential sign-extension overflow on large shift

Dafna Hirschfeld (1):
  pvrusb2: replace `printk` with `pr_*`

Keiichi Watanabe (1):
  media: vivid: Support 480p for webcam capture

Nathan Chancellor (1):
  media: cx18: Don't check for address of video_dev

Vikash Garodia (1):
  venus: vdec: fix decoded data size

Wenwen Wang (1):
  media: isif: fix a NULL pointer dereference bug

 Documentation/devicetree/bindings/media/rcar_vin.txt |  1 +
 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c| 28 

 drivers/media/pci/bt8xx/bttv-input.c |  2 +-
 drivers/media/pci/cx18/cx18-driver.c |  2 +-
 drivers/media/pci/cx23885/cx23885-i2c.c  |  2 +-
 drivers/media/pci/ivtv/ivtv-i2c.c|  2 +-
 drivers/media/platform/davinci/isif.c|  3 ++-
 drivers/media/platform/exynos4-is/fimc-is.c  |  2 +-
 drivers/media/platform/qcom/venus/vdec.c |  3 +--
 drivers/media/platform/vivid/vivid-vid-cap.c |  5 -
 drivers/media/platform/vivid/vivid-vid-common.c  | 28 

 drivers/media/usb/cx231xx/cx231xx-video.c|  2 +-
 drivers/media/usb/pvrusb2/pvrusb2-debug.h|  2 +-
 drivers/media/usb/pvrusb2/pvrusb2-hdw.c  |  8 
 drivers/media/usb/pvrusb2/pvrusb2-i2c-core.c | 28 
+---
 drivers/media/usb/pvrusb2/pvrusb2-main.c |  4 ++--
 drivers/media/usb/pvrusb2/pvrusb2-v4l2.c |  4 ++--
 17 files changed, 92 insertions(+), 34 deletions(-)


Re: [GIT PULL FOR v4.20] Various fixes

2018-10-04 Thread Mauro Carvalho Chehab
Em Mon, 1 Oct 2018 11:56:22 +0200
Hans Verkuil  escreveu:

> The following changes since commit 4158757395b300b6eb308fc20b96d1d231484413:
> 
>   media: davinci: Fix implicit enum conversion warning (2018-09-24 09:43:13 
> -0400)
> 
> are available in the Git repository at:
> 
>   git://linuxtv.org/hverkuil/media_tree.git tags/tag-v4.20d
> 
> for you to fetch changes up to f7a1170fcc19617647c78262a79abdec7b0a08cd:
> 
>   media: i2c: adv748x: fix typo in comment for TXB CSI-2 transmitter power 
> down (2018-10-01 11:09:09 +0200)
> 
> 
> Tag branch
> 
> 
> Arnd Bergmann (1):
>   media: imx-pxp: include linux/interrupt.h
> 
> Benjamin Gaignard (1):
>   MAINTAINERS: fix reference to STI CEC driver
> 
> Colin Ian King (1):
>   media: zoran: fix spelling mistake "queing" -> "queuing"
> 
> Dan Carpenter (1):
>   VPU: mediatek: don't pass an unused parameter
> 
> Hans Verkuil (1):
>   vidioc-dqevent.rst: clarify V4L2_EVENT_SRC_CH_RESOLUTION
> 
> Hugues Fruchet (1):
>   media: stm32-dcmi: only enable IT frame on JPEG capture
> 
> Jacopo Mondi (4):
>   media: i2c: adv748x: Support probing a single output
>   media: i2c: adv748x: Handle TX[A|B] power management
>   media: i2c: adv748x: Conditionally enable only CSI-2 outputs
>   media: i2c: adv748x: Register only enabled inputs
> 
> Laurent Pinchart (1):
>   MAINTAINERS: Remove stale file entry for the Atmel ISI driver

Dropped this patch, as it is not right: the file was just moved to
a different place. Posted a replacement patch for it at the ML.

Applied the remaining ones.

Regards,
Mauro


[GIT PULL FOR v4.20] Various fixes

2018-10-01 Thread Hans Verkuil
The following changes since commit 4158757395b300b6eb308fc20b96d1d231484413:

  media: davinci: Fix implicit enum conversion warning (2018-09-24 09:43:13 
-0400)

are available in the Git repository at:

  git://linuxtv.org/hverkuil/media_tree.git tags/tag-v4.20d

for you to fetch changes up to f7a1170fcc19617647c78262a79abdec7b0a08cd:

  media: i2c: adv748x: fix typo in comment for TXB CSI-2 transmitter power down 
(2018-10-01 11:09:09 +0200)


Tag branch


Arnd Bergmann (1):
  media: imx-pxp: include linux/interrupt.h

Benjamin Gaignard (1):
  MAINTAINERS: fix reference to STI CEC driver

Colin Ian King (1):
  media: zoran: fix spelling mistake "queing" -> "queuing"

Dan Carpenter (1):
  VPU: mediatek: don't pass an unused parameter

Hans Verkuil (1):
  vidioc-dqevent.rst: clarify V4L2_EVENT_SRC_CH_RESOLUTION

Hugues Fruchet (1):
  media: stm32-dcmi: only enable IT frame on JPEG capture

Jacopo Mondi (4):
  media: i2c: adv748x: Support probing a single output
  media: i2c: adv748x: Handle TX[A|B] power management
  media: i2c: adv748x: Conditionally enable only CSI-2 outputs
  media: i2c: adv748x: Register only enabled inputs

Laurent Pinchart (1):
  MAINTAINERS: Remove stale file entry for the Atmel ISI driver

Nathan Chancellor (1):
  media: pxa_camera: Fix check for pdev->dev.of_node

Niklas Söderlund (2):
  rcar-vin: fix redeclaration of symbol
  media: i2c: adv748x: fix typo in comment for TXB CSI-2 transmitter power 
down

Philipp Zabel (1):
  media: imx: use well defined 32-bit RGB pixel format

zhong jiang (1):
  media: qcom: remove duplicated include file

 Documentation/media/uapi/v4l/vidioc-dqevent.rst | 12 +++-
 MAINTAINERS |  3 +-
 drivers/media/i2c/adv748x/adv748x-afe.c |  2 +-
 drivers/media/i2c/adv748x/adv748x-core.c| 85 
+++--
 drivers/media/i2c/adv748x/adv748x-csi2.c| 29 ++
 drivers/media/i2c/adv748x/adv748x-hdmi.c|  2 +-
 drivers/media/i2c/adv748x/adv748x.h | 19 
 drivers/media/platform/imx-pxp.c|  1 +
 drivers/media/platform/mtk-vpu/mtk_vpu.c|  7 ++---
 drivers/media/platform/pxa_camera.c |  2 +-
 drivers/media/platform/qcom/camss/camss.h   |  1 -
 drivers/media/platform/rcar-vin/rcar-core.c |  1 -
 drivers/media/platform/stm32/stm32-dcmi.c   |  5 +++-
 drivers/staging/media/imx/imx-media-utils.c |  4 +--
 drivers/staging/media/zoran/zoran_driver.c  |  2 +-
 15 files changed, 93 insertions(+), 82 deletions(-)


[GIT PULL FOR v4.20] Various fixes

2018-09-17 Thread Hans Verkuil
Nothing special, just lots of fixes.

Note that my four cec patches have a CC for stable for 4.17 and up (they no
longer apply for 4.16 and older). I decided not to add them for 4.19 since
these patches are a bit bigger than I'd like and it's been broken since 4.12
without anyone noticing. So a few extra weeks before they are backported to
4.19 shouldn't matter.

Once they are merged I might make another patch set for the 4.14 longterm 
kernel,
the only longterm kernel that is affected by this.

Regards,

Hans

The following changes since commit 78cf8c842c111df656c63b5d04997ea4e40ef26a:

  media: drxj: fix spelling mistake in fall-through annotations (2018-09-12 
11:21:52 -0400)

are available in the Git repository at:

  git://linuxtv.org/hverkuil/media_tree.git tags/v4.20c

for you to fetch changes up to dbfb412d7e38fdcc6ada339b2431b9d5db1df667:

  media: davinci: Fix implicit enum conversion warning (2018-09-17 12:46:13 
+0200)


Tag v4.20c


Alexandre GRIVEAUX (1):
  saa7134: add P7131_4871 analog inputs

Arnd Bergmann (1):
  media: imx: work around false-positive warning, again

Brad Love (2):
  au0828: cannot kfree dev before usb disconnect
  au0828: Fix incorrect error messages

Ezequiel Garcia (2):
  vicodec: Drop unneeded symbol dependency
  vicodec: Drop unused job_abort()

Gustavo A. R. Silva (1):
  venus: helpers: use true and false for boolean values

Hans Verkuil (8):
  cec: make cec_get_edid_spa_location() an inline function
  cec: integrate cec_validate_phys_addr() in cec-api.c
  cec/v4l2: move V4L2 specific CEC functions to V4L2
  cec: remove cec-edid.c
  vicodec: check for valid format in v4l2_fwht_en/decode
  vicodec: set state->info before calling the encode/decode funcs
  media: replace ADOBERGB by OPRGB
  media colorspaces*.rst: rename AdobeRGB to opRGB

Jia-Ju Bai (1):
  media: pci: ivtv: Fix a sleep-in-atomic-context bug in ivtv_yuv_init()

Johan Fjeldtvedt (1):
  vb2: check for sane values from queue_setup

Lucas Stach (1):
  media: coda: don't overwrite h.264 profile_idc on decoder instance

Nathan Chancellor (2):
  bt8xx: Remove unnecessary self-assignment
  media: davinci: Fix implicit enum conversion warning

Nicholas Mc Guire (1):
  media: pci: cx23885: handle adding to list failure

Niklas Söderlund (1):
  v4l2-common: fix typo in documentation for v4l_bound_align_image()

Philipp Zabel (1):
  media: imx-pxp: fix compilation on i386 or x86_64

zhong jiang (2):
  media: coda: remove redundant null pointer check before of_node_put
  media: platform: remove redundant null pointer check before of_node_put

 Documentation/media/uapi/v4l/biblio.rst  |  10 --
 Documentation/media/uapi/v4l/colorspaces-defs.rst|   8 +-
 Documentation/media/uapi/v4l/colorspaces-details.rst |  13 ++-
 Documentation/media/videodev2.h.rst.exceptions   |   6 +-
 drivers/media/cec/Makefile   |   2 +-
 drivers/media/cec/cec-adap.c |  13 +++
 drivers/media/cec/cec-api.c  |  19 +++-
 drivers/media/cec/cec-edid.c | 155 

 drivers/media/common/v4l2-tpg/v4l2-tpg-colors.c  | 262 
+++
 drivers/media/common/videobuf2/videobuf2-core.c  |   9 ++
 drivers/media/i2c/adv7511.c  |   2 +-
 drivers/media/i2c/adv7604.c  |   6 +-
 drivers/media/i2c/adv7842.c  |   4 +-
 drivers/media/i2c/tc358743.c |   6 +-
 drivers/media/pci/bt8xx/bttv-driver.c|   1 -
 drivers/media/pci/cx23885/altera-ci.c|  10 ++
 drivers/media/pci/ivtv/ivtv-yuv.c|   2 +-
 drivers/media/pci/saa7134/saa7134-cards.c|  15 +++
 drivers/media/platform/coda/coda-common.c|   6 +-
 drivers/media/platform/davinci/vpbe_display.c|   2 +-
 drivers/media/platform/imx-pxp.c |   1 +
 drivers/media/platform/qcom/venus/helpers.c  |   2 +-
 drivers/media/platform/ti-vpe/cal.c  |  12 +--
 drivers/media/platform/vicodec/Kconfig   |   2 +-
 drivers/media/platform/vicodec/codec-v4l2-fwht.c |  15 ++-
 drivers/media/platform/vicodec/codec-v4l2-fwht.h |   7 +-
 drivers/media/platform/vicodec/vicodec-core.c|  23 ++---
 drivers/media/platform/vivid/vivid-core.h|   2 +-
 drivers/media/platform/vivid/vivid-ctrls.c   |   6 +-
 drivers/media/platform/vivid/vivid-vid-cap.c |   4 +-
 drivers/media/platform/vivid/vivid-vid-common.c  |   2 +-
 drivers/media/platform/vivid/vivid-vid-out.c |   2 +-
 drivers/media/usb/au0828/au0828-core.c   |   5 +-
 

[GIT PULL FOR v4.20] Various fixes.

2018-09-09 Thread Hans Verkuil
Regarding the vicodec license change: I decided to stay with LGPL, I see no 
reason
to do a dual license GPL/LGPL scheme.

Regards,

Hans

The following changes since commit d842a7cf938b6e0f8a1aa9f1aec0476c9a599310:

  media: adv7842: enable reduced fps detection (2018-08-31 10:03:51 -0400)

are available in the Git repository at:

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

for you to fetch changes up to 9742fca52c4482e03f75e9e2117063b8e191d454:

  vidioc-cropcap/g-crop.rst: fix confusing sentence (2018-09-09 11:15:46 +0200)


Guilherme Gallo (1):
  media: vimc: implement basic v4l2-ctrls

Hans Verkuil (2):
  vicodec: change codec license to LGPL
  vidioc-cropcap/g-crop.rst: fix confusing sentence

 Documentation/media/uapi/v4l/vidioc-cropcap.rst  |  2 +-
 Documentation/media/uapi/v4l/vidioc-g-crop.rst   |  2 +-
 drivers/media/platform/vicodec/codec-fwht.c  |  2 +-
 drivers/media/platform/vicodec/codec-fwht.h  |  2 +-
 drivers/media/platform/vicodec/codec-v4l2-fwht.c |  2 +-
 drivers/media/platform/vicodec/codec-v4l2-fwht.h |  2 +-
 drivers/media/platform/vimc/vimc-sensor.c| 20 
 7 files changed, 26 insertions(+), 6 deletions(-)


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

2018-09-01 Thread Hans Verkuil
The following changes since commit d842a7cf938b6e0f8a1aa9f1aec0476c9a599310:

  media: adv7842: enable reduced fps detection (2018-08-31 10:03:51 -0400)

are available in the Git repository at:

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

for you to fetch changes up to 8ce385273afa4ce9f48e26ed6a7811bf678137ed:

  vicodec: fix sparse warning (2018-09-01 14:59:20 +0200)


Hans Verkuil (7):
  mediactl/*.rst: document argp
  v4l2-tpg: show either Y'CbCr or HSV encoding
  v4l2-tpg: add Z16 support
  cec-func-poll.rst/func-poll.rst: update EINVAL description
  vicodec: fix wrong sizeimage
  videodev2.h.rst.exceptions: add V4L2_DV_FL_CAN_DETECT_REDUCED_FPS
  vicodec: fix sparse warning

 Documentation/media/uapi/cec/cec-func-poll.rst|  3 ++-
 Documentation/media/uapi/mediactl/media-ioc-device-info.rst   |  1 +
 Documentation/media/uapi/mediactl/media-ioc-enum-entities.rst |  1 +
 Documentation/media/uapi/mediactl/media-ioc-enum-links.rst|  1 +
 Documentation/media/uapi/mediactl/media-ioc-g-topology.rst|  1 +
 Documentation/media/uapi/mediactl/media-ioc-setup-link.rst|  1 +
 Documentation/media/uapi/v4l/func-poll.rst|  3 ++-
 Documentation/media/videodev2.h.rst.exceptions|  1 +
 drivers/media/common/v4l2-tpg/v4l2-tpg-core.c | 11 +--
 drivers/media/platform/vicodec/vicodec-core.c | 18 
+++---
 10 files changed, 30 insertions(+), 11 deletions(-)