From patchwork Thu Jun 9 17:57:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kieran Bingham X-Patchwork-Id: 9167629 X-Patchwork-Delegate: geert@linux-m68k.org 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 EBE9E60467 for ; Thu, 9 Jun 2016 17:57:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E513E28328 for ; Thu, 9 Jun 2016 17:57:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D9C812835B; Thu, 9 Jun 2016 17:57:16 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 224CA28328 for ; Thu, 9 Jun 2016 17:57:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932744AbcFIR5O (ORCPT ); Thu, 9 Jun 2016 13:57:14 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:33341 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932743AbcFIR5M (ORCPT ); Thu, 9 Jun 2016 13:57:12 -0400 Received: by mail-wm0-f65.google.com with SMTP id r5so12535456wmr.0 for ; Thu, 09 Jun 2016 10:57:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ksquared.org.uk; s=google; h=sender:from:to:cc:subject:date:message-id; bh=YY6rPz2ZgNSByy/vzpGnQx2h5PPel9WDc2/lBpqgs/Y=; b=cnPxtV/hEPtV1KziJgxaVrVGUYA7N1i22fdLpqrZJWOt/OoMXKK2CwDHMJFTswTFC9 nfBUqRU7fKhDHWWMcawA3Yx+qp/28xiS2WdwTHSJJGEZTxxa3AJ2GcREdYQTRHn08bYX XpajYNx8cCpncmNVDWGyYT8OsElEZKX5vdgGo= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bingham-xyz.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id; bh=YY6rPz2ZgNSByy/vzpGnQx2h5PPel9WDc2/lBpqgs/Y=; b=QSbIVsZLnQrkY9pBwNkdHJwjp6mQgO/6/ssazy0gf8SpaWHt5gbuCGWQjvUWKa9zDS lxEQQ3hMuH+fpTQgVUoO0Csg2L5vdlQCdyOk+L1aIRqK6fS+w7Eh102Sj0I39os5bLlw ktCbQ8g3I1yGIrP/qSx2NNAB2Zq9u+6F5b+GP2odlKlaBSNTNvB60gJBWCRJ5GUHn0dQ 6YmYz7Rju4pyQCwFeKV7EtH4pQz4O3Q7wLTZmAkcjEZgAb6v+G103XtzLdBhqLZX2gOY HYp0TnPolVPEDXmTcBqXDsk8W65B/0sQtOtVGUaOY6Fm6WbC15CUAzCcg4FQYOhINem7 fiYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=YY6rPz2ZgNSByy/vzpGnQx2h5PPel9WDc2/lBpqgs/Y=; b=S16kzcQaqXu25EADheqKcR6dls+ZP//a1BQoITOqvH35TOd0i8rHXpxbcWkbTT/szg K/InTJS6vpo1kRl7XuPIRt1IG7MkODdgWUqCn7s6LDdG95xaHvYaOML2fz6X8+nzdbnF U9OwZ6IOQ/S/C8cih/rV2rEGNiwoeW6mEU6cyPDWjLyQn2l84mkUycUMpZetLXuUeZiz vXNavoYS57EVctA0G9ck/zeay+C/pXsIXeGIOna6ZgrM0hHHpUPJmPJnX/3gRidjYamd hfAvFJDIRei2zM5iOC30EK4nKw4bokbWDd9Kxke+kLuui8d5PYu5x9eG8P8rSECNePG/ yc2w== X-Gm-Message-State: ALyK8tLStsrEHb1aoYVoZw/d3KHVCNFpmdzsaVBAsDNrih+ETvAQdV/cCU7SfgNPcEGxrA== X-Received: by 10.28.29.7 with SMTP id d7mr12074039wmd.27.1465495025825; Thu, 09 Jun 2016 10:57:05 -0700 (PDT) Received: from CookieMonster.cookiemonster.local (cpc87017-aztw30-2-0-cust65.18-1.cable.virginm.net. [92.232.232.66]) by smtp.gmail.com with ESMTPSA id xz3sm8183454wjb.35.2016.06.09.10.57.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 09 Jun 2016 10:57:05 -0700 (PDT) From: Kieran Bingham To: laurent.pinchart@ideasonboard.com Cc: mchehab@osg.samsung.com, linux-media@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Kieran Bingham Subject: [PATCH] [media] v4l: vsp1: Fix format-info documentation Date: Thu, 9 Jun 2016 18:57:02 +0100 Message-Id: <1465495022-8177-1-git-send-email-kieran@bingham.xyz> X-Mailer: git-send-email 2.7.4 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Minor tweaks to document the swap register and make the documentation match the struct ordering Signed-off-by: Kieran Bingham Reviewed-by: Laurent Pinchart --- drivers/media/platform/vsp1/vsp1_pipe.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/media/platform/vsp1/vsp1_pipe.h b/drivers/media/platform/vsp1/vsp1_pipe.h index 7b56113511dd..6ee3db1fab55 100644 --- a/drivers/media/platform/vsp1/vsp1_pipe.h +++ b/drivers/media/platform/vsp1/vsp1_pipe.h @@ -25,11 +25,12 @@ struct vsp1_rwpf; /* * struct vsp1_format_info - VSP1 video format description - * @mbus: media bus format code * @fourcc: V4L2 pixel format FCC identifier + * @mbus: media bus format code + * @hwfmt: VSP1 hardware format + * @swap: swap register control * @planes: number of planes * @bpp: bits per pixel - * @hwfmt: VSP1 hardware format * @swap_yc: the Y and C components are swapped (Y comes before C) * @swap_uv: the U and V components are swapped (V comes before U) * @hsub: horizontal subsampling factor