From patchwork Wed Feb 7 22:42:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Harvey X-Patchwork-Id: 10206275 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 67913602D8 for ; Wed, 7 Feb 2018 22:45:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5074728639 for ; Wed, 7 Feb 2018 22:45:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4502D290FB; Wed, 7 Feb 2018 22:45:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ABDAC28639 for ; Wed, 7 Feb 2018 22:45:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752319AbeBGWpk (ORCPT ); Wed, 7 Feb 2018 17:45:40 -0500 Received: from mail-pf0-f194.google.com ([209.85.192.194]:44722 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751995AbeBGWnO (ORCPT ); Wed, 7 Feb 2018 17:43:14 -0500 Received: by mail-pf0-f194.google.com with SMTP id 17so962360pfw.11 for ; Wed, 07 Feb 2018 14:43:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gateworks-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=5SFoEUSONeS53up1B8Ntkb+CX102ExfMnvzQyyyQmJA=; b=N2S+Jd6kFltHUzE/inbvcuf11RRA8Lhlb3R5ZFq3cGQfEht0Q7hmYyVMRTeusL+i2H foQ+hau5titxsxhZYYnjoaRSu2v/ZlsrQfB9jwNjiti+0SkXXiCtcibSlcIWptExwV2+ jWNkh18BNqLs+PcqosrujWMAnVqj9Ur25+Y1YA4e5/XMxj5jhtrD9ZWRZUJtva8TRNhG KQjT7XYn2Wb1AvIjEWNeu26WqeZmFTREdmYB0QWhkSAo23v2FmGnl7bcngUiAQ90sgaj RjGTwbJ0wVABJSBXdub0jlL4NrieCYh/5JhN43z6tWPA5XivrFxzW3HmLI8yLEu/ZwMo BGrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=5SFoEUSONeS53up1B8Ntkb+CX102ExfMnvzQyyyQmJA=; b=dOC11js7zEyeUhND7mdCE5t57ShyU+pz2C0+eIZkK8bDQE16DNaUWN1StiwXSvZAap EcxyRwbB/2niEJ3wmlbmEU/weOU+QzILl0nhvVTwfc0E/FcSZT2S1NVPucilg65ZH1v+ XT3KInQQfPOsfjEbRYYSLdsUxgViktZl/4i5sve5FgkOd6czemsMiCX9zMGjdju/U5jG XB2mxnaBeKIhs/eAHrrpskshOd8YhDhTAoo0ELQYD+6Bfi+HVtRJHWJJk5nDYAAavvD/ FbrlGs6IRvStytV9jzmL/kak1apTs/VsxuFCJZw+fyGeOlhozAA4jyMnET5czO9Jchtp b5VA== X-Gm-Message-State: APf1xPD6Lw3sXzb+u3plV8bIl3+5EDgaInFVSRtvw+YNdFwaW55D5+6Z MHPFofLhTwv51V4VcR3VP2etvtKh X-Google-Smtp-Source: AH8x224SEiCkDjR5nQNwgH+SwkGjUDVFwF/8GxeSfAnanZow837gt9jZ9XUygqNJonuDXcLS6YEwpg== X-Received: by 10.98.157.213 with SMTP id a82mr7407274pfk.242.1518043393197; Wed, 07 Feb 2018 14:43:13 -0800 (PST) Received: from tharvey.pdc.gateworks.com (68-189-91-139.static.snlo.ca.charter.com. [68.189.91.139]) by smtp.gmail.com with ESMTPSA id d74sm7683777pfb.54.2018.02.07.14.43.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 07 Feb 2018 14:43:12 -0800 (PST) From: Tim Harvey To: linux-media@vger.kernel.org, alsa-devel@alsa-project.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, shawnguo@kernel.org, Steve Longerbeam , Philipp Zabel , Hans Verkuil , Mauro Carvalho Chehab Subject: [PATCH v9 2/8] media: v4l-ioctl: fix clearing pad for VIDIOC_DV_TIMIGNS_CAP Date: Wed, 7 Feb 2018 14:42:41 -0800 Message-Id: <1518043367-11531-3-git-send-email-tharvey@gateworks.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1518043367-11531-1-git-send-email-tharvey@gateworks.com> References: <1518043367-11531-1-git-send-email-tharvey@gateworks.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Tim Harvey --- drivers/media/v4l2-core/v4l2-ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/v4l2-core/v4l2-ioctl.c b/drivers/media/v4l2-core/v4l2-ioctl.c index 7961499..5f3670d 100644 --- a/drivers/media/v4l2-core/v4l2-ioctl.c +++ b/drivers/media/v4l2-core/v4l2-ioctl.c @@ -2638,7 +2638,7 @@ static struct v4l2_ioctl_info v4l2_ioctls[] = { IOCTL_INFO_FNC(VIDIOC_PREPARE_BUF, v4l_prepare_buf, v4l_print_buffer, INFO_FL_QUEUE), IOCTL_INFO_STD(VIDIOC_ENUM_DV_TIMINGS, vidioc_enum_dv_timings, v4l_print_enum_dv_timings, INFO_FL_CLEAR(v4l2_enum_dv_timings, pad)), IOCTL_INFO_STD(VIDIOC_QUERY_DV_TIMINGS, vidioc_query_dv_timings, v4l_print_dv_timings, INFO_FL_ALWAYS_COPY), - IOCTL_INFO_STD(VIDIOC_DV_TIMINGS_CAP, vidioc_dv_timings_cap, v4l_print_dv_timings_cap, INFO_FL_CLEAR(v4l2_dv_timings_cap, type)), + IOCTL_INFO_STD(VIDIOC_DV_TIMINGS_CAP, vidioc_dv_timings_cap, v4l_print_dv_timings_cap, INFO_FL_CLEAR(v4l2_dv_timings_cap, pad)), IOCTL_INFO_FNC(VIDIOC_ENUM_FREQ_BANDS, v4l_enum_freq_bands, v4l_print_freq_band, 0), IOCTL_INFO_FNC(VIDIOC_DBG_G_CHIP_INFO, v4l_dbg_g_chip_info, v4l_print_dbg_chip_info, INFO_FL_CLEAR(v4l2_dbg_chip_info, match)), IOCTL_INFO_FNC(VIDIOC_QUERY_EXT_CTRL, v4l_query_ext_ctrl, v4l_print_query_ext_ctrl, INFO_FL_CTRL | INFO_FL_CLEAR(v4l2_query_ext_ctrl, id)),