Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp606126pxb; Thu, 9 Sep 2021 08:05:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzAnuU1MpJxwU0A/L202dlcbjELQ72WlnyRclpsWifsTVE/lzreQYp0hUpoFg6hgz9MafEZ X-Received: by 2002:a02:8189:: with SMTP id n9mr219673jag.107.1631199901378; Thu, 09 Sep 2021 08:05:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631199901; cv=none; d=google.com; s=arc-20160816; b=puXLE8J10bWYSpJNMhyfuOOtL9ONQFOSCmYvxxDgwdzVzO7ElMwesfw/WbqNOGHzLr 8Bpn6IXig9+VivPWFniZXqKO/urJkK84li0dNVlEQhxaBmwHTsCWwQhXVrIAVs7EuqIb AOOvNvLr/ynBUrqLs/aXEbU7iFG3p3Wi022oWpaduq/VQWB2Yk9ImP9qz2PLwGSyyD8q aWvLw5gdpQlAbgnyTxa8hTd7kIVJ3cv9nnyLagTTcRJS9Af3bFHRb61EukuX+UnM44et kIzmcMpD6qc89hAvb985eGD/uI6R02BHDiQ4rJzVAtzJI04mjCdERPItry7xZW5oAJAK 7mDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=WTzgTP74nfsbUD8pXywJsWRsF+0Cf9A+HA+Kb2BopBE=; b=WEJEjdU6qAZrQ405o1LbEigy76HMmctZoXAHn7gGuj9Nl3o6M7KBxfG99Evc2tTacy +j5uP/QoUTKSFZvD+/d3w+8Rymyuwbw5fUlcRh0x9G7XeelgJ5GWOGJq1FLeN3rAWBBN xKqS07wxGSngG5ncrZjz1X1o9VQFaOBVBznOcRxOtkhaLXxGDMZfNGOmA6/tH4C8G143 WgMFm0MDCD7QJevnYFcXiSpm4kqwdEFUT/05t9lnaIV2zg6kafcEnnhsvScWhh5CEk7J k9Gqy0u4N3/IuKGS2bmhk4q34spIPP7HsFjz1gmqT1Ds/QxubQrXVKJXOB2lKy5FbwR8 DDRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="R/Vgfcw6"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a11si1934173jat.53.2021.09.09.08.04.32; Thu, 09 Sep 2021 08:05:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="R/Vgfcw6"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236597AbhIIPEl (ORCPT + 99 others); Thu, 9 Sep 2021 11:04:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239267AbhIIPCG (ORCPT ); Thu, 9 Sep 2021 11:02:06 -0400 Received: from mail-ed1-x534.google.com (mail-ed1-x534.google.com [IPv6:2a00:1450:4864:20::534]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0764EC0613EF for ; Thu, 9 Sep 2021 08:00:51 -0700 (PDT) Received: by mail-ed1-x534.google.com with SMTP id n10so538173eda.10 for ; Thu, 09 Sep 2021 08:00:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=WTzgTP74nfsbUD8pXywJsWRsF+0Cf9A+HA+Kb2BopBE=; b=R/Vgfcw6MK4tC9u39o9s2xl8piCTG3LboA0HV9RsUYCCVHMEh8YlD7W0jjIBEodGYW Mr1MN3r5v+KtwTA3yitJ1S7EqUl8yvkd/xWXXjyI5/3IaBSWBuGeJkwNC4HrAgnqxxQN VLBZJyyMcuG6yJBH7cPKkPFgASZGSyg8eFP7k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=WTzgTP74nfsbUD8pXywJsWRsF+0Cf9A+HA+Kb2BopBE=; b=58Sbe+pH3ov1GxJQbDMu3xwuJG34FxOgzTkcQHzbwsHT/Xuhdssp2pDSZ458FM32Pz MktnRclX/LnZZP3sqScS6AwEwgfDGbqsvCWG/ORYpENDGsrTyxkACp7jfw+TM5XFBXHx YS8Xo8XUzL8jnyduc3T6iYK2v7Tg06yWuj7Gb6vjgLGeIJqY9ejpMiUtVTJ4fVchdsND dvqx/ahUH2LW1xRRip+1KsWHPQ5O+K8C5ahE6Os5POXexWUSMvN5KwISo1K2QybyPK38 phD3/bYUDtAq85KscmufG3kl4/le3g2wpHjNhwhO/pUeJgKzYSngGCB0qINjAULjuxsH pgTw== X-Gm-Message-State: AOAM531CpY8IQIm8u/mjRjn56y0ea5Ae2JUrv7MEaKEonUcmsPE9hLkU FOVh4q52LVAFT+NiFiTkvLr1Mw== X-Received: by 2002:a05:6402:2686:: with SMTP id w6mr3648595edd.231.1631199649537; Thu, 09 Sep 2021 08:00:49 -0700 (PDT) Received: from alco.lan (80.71.134.83.ipv4.parknet.dk. [80.71.134.83]) by smtp.gmail.com with ESMTPSA id h8sm1139644ejj.22.2021.09.09.08.00.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Sep 2021 08:00:49 -0700 (PDT) From: Ricardo Ribalda To: Laurent Pinchart , Hans Verkuil , Mauro Carvalho Chehab , Sergey Senozhatsky , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, tfiga@chromium.org Cc: Ricardo Ribalda Subject: [PATCH 0/4] Follow-up patches for uvc v4l2-compliance Date: Thu, 9 Sep 2021 17:00:42 +0200 Message-Id: <20210909150046.57615-1-ribalda@chromium.org> X-Mailer: git-send-email 2.33.0.153.gba50c8fa24-goog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset contains the fixes for the comments on "v10 of Fix v4l2-compliance errors series". In particular to the patches -uvcvideo: uvc_ctrl_is_accessible: check for INACTIVE -uvcvideo: improve error handling in uvc_query_ctrl() Hans Verkuil (2): media: uvcvideo: uvc_ctrl_is_accessible: check for INACTIVE media: uvcvideo: improve error logging in uvc_query_ctrl() Ricardo Ribalda (2): media: uvcvideo: Return -EACCES for Wrong state error media: uvcvideo: Do not return positive errors in uvc_query_ctrl() drivers/media/usb/uvc/uvc_ctrl.c | 47 ++++++++++++++++++++++++++++++- drivers/media/usb/uvc/uvc_v4l2.c | 4 +-- drivers/media/usb/uvc/uvc_video.c | 15 +++++----- drivers/media/usb/uvc/uvcvideo.h | 3 +- 4 files changed, 58 insertions(+), 11 deletions(-) -- 2.33.0.153.gba50c8fa24-goog