linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
To: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: linux-media@vger.kernel.org, Ricardo Ribalda <ribalda@chromium.org>
Subject: Re: [GIT PULL FOR v5.16] uvcvideo v4l2-compliance fixes
Date: Fri, 3 Sep 2021 14:04:27 +0200	[thread overview]
Message-ID: <20210903140421.1b021b6f@coco.lan> (raw)
In-Reply-To: <YSNsXylafQPuKH4H@pendragon.ideasonboard.com>

Em Mon, 23 Aug 2021 12:37:35 +0300
Laurent Pinchart <laurent.pinchart@ideasonboard.com> escreveu:

> Hi Mauro,
> 
> The following changes since commit d62cd4d277cc711f781a7bdec4109c6148529b25:
> 
>   media: uvcvideo: Remove unused including <linux/version.h> (2021-08-21 09:11:04 +0200)
> 
> are available in the Git repository at:
> 
>   git://linuxtv.org/pinchartl/media.git tags/uvc-next-20210823
> 
> for you to fetch changes up to 2bc2b78476b4bc5690186c2b9a4dd565be6a9913:
> 
>   media: uvcvideo: Don't spam the log in uvc_ctrl_restore_values() (2021-08-23 12:31:04 +0300)
> 
> This contains a subset of "[PATCH v10 00/21] Fix v4l2-compliance errors"
> as 17 out of the 21 patches are ready to go and don't need to be
> delayed.
> 
> ----------------------------------------------------------------
> - uvcvideo v4l2-compliance fixes
> 
> ----------------------------------------------------------------
> Hans Verkuil (1):
>       media: uvcvideo: Don't spam the log in uvc_ctrl_restore_values()
> 
> Ricardo Ribalda (16):
>       media: v4l2-ioctl: Fix check_ext_ctrls
>       media: pvrusb2: Do not check for V4L2_CTRL_WHICH_DEF_VAL
>       media: uvcvideo: Do not check for V4L2_CTRL_WHICH_DEF_VAL
>       media: v4l2-ioctl: S_CTRL output the right value
>       media: uvcvideo: Remove s_ctrl and g_ctrl
>       media: uvcvideo: Set capability in s_param
>       media: uvcvideo: Return -EIO for control errors
>       media: uvcvideo: refactor __uvc_ctrl_add_mapping
>       media: uvcvideo: Add support for V4L2_CTRL_TYPE_CTRL_CLASS
>       media: uvcvideo: Use dev->name for querycap()
>       media: uvcvideo: Set unique vdev name based in type
>       media: uvcvideo: Increase the size of UVC_METADATA_BUF_SIZE

Patches applied.

>       media: uvcvideo: Use control names from framework
>       media: uvcvideo: Check controls flags before accessing them
>       media: uvcvideo: Set error_idx during ctrl_commit errors

I didn't apply those three. The first one seems to be causing
memory leaks, and the other two are dependent on the first one.

So, I opted to skip them when merging this PR. This way, Ricardo
can just re-submit 3 patches instead of the hole series.


>       media: docs: Document the behaviour of uvcvideo driver

Patches applied.

> 
>  .../userspace-api/media/v4l/vidioc-g-ctrl.rst      |   3 +
>  .../userspace-api/media/v4l/vidioc-g-ext-ctrls.rst |   3 +
>  drivers/media/usb/pvrusb2/pvrusb2-v4l2.c           |   4 -
>  drivers/media/usb/uvc/uvc_ctrl.c                   | 260 ++++++++++++++++-----
>  drivers/media/usb/uvc/uvc_driver.c                 |  15 +-
>  drivers/media/usb/uvc/uvc_metadata.c               |   2 +-
>  drivers/media/usb/uvc/uvc_v4l2.c                   | 105 ++++-----
>  drivers/media/usb/uvc/uvc_video.c                  |   5 +
>  drivers/media/usb/uvc/uvcvideo.h                   |  17 +-
>  drivers/media/v4l2-core/v4l2-ioctl.c               |  67 ++++--
>  10 files changed, 317 insertions(+), 164 deletions(-)

Thanks,
Mauro

  parent reply	other threads:[~2021-09-03 12:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-23  9:37 [GIT PULL FOR v5.16] uvcvideo v4l2-compliance fixes Laurent Pinchart
2021-08-23 10:14 ` [GIT PULL FOR v5.16] uvcvideo v4l2-compliance fixes (#76513) Jenkins
2021-09-03 12:04 ` Mauro Carvalho Chehab [this message]
2021-09-03 12:41   ` [GIT PULL FOR v5.16] uvcvideo v4l2-compliance fixes Laurent Pinchart
2021-09-03 14:21     ` Mauro Carvalho Chehab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210903140421.1b021b6f@coco.lan \
    --to=mchehab+huawei@kernel.org \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-media@vger.kernel.org \
    --cc=ribalda@chromium.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).