Received: by 10.213.65.68 with SMTP id h4csp2734912imn; Mon, 2 Apr 2018 13:02:01 -0700 (PDT) X-Google-Smtp-Source: AIpwx4871OmSbWpXoIjoDLXCKTeFhUuB5awo+coccYhnK5smU98e4reL7TKpkCSvEI14+d4BFE59 X-Received: by 2002:a17:902:20ca:: with SMTP id v10-v6mr11386929plg.9.1522699321922; Mon, 02 Apr 2018 13:02:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522699321; cv=none; d=google.com; s=arc-20160816; b=IvwGIhHeNgUm+jJufJTCwMYQnKkV2BBmrb4AllWO0LaYgjtZLsXEEsGR2hD7m8xyuI gz6E6DBhTyaJZ7A2otEtYL+YvdDwPJ40aY0o8kcuqo/5jZkt9/H1s1fbyT6UmAzVjemJ rA5ZhbPIDnX56U8Rc9DZ0xtzYraVCs7NkJm9+nmMJNYG5Eg4A/1IoKqjbrXu6HP/SGZm GUx3BvaNTiEowFV/FCoHl4pXRkM4XlGL509MvxNHyuRXfQpumQPt/ftbc7IARwatLCn0 z5heM9+iWnWwYWJ1sXtabQbdxrGXF4oaTaGHS/c1ZO24OoKRD8MLn7qhHAVQ53hdJPIA mq1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=eQEKjC+ux1MNyqdLOlDkAa7y0wBpQmqENHNtHmBBa8c=; b=w5soo4pT/1IOGM+Q81H/qCrB5ju/SXY/obmU4nGMhX2b9VEfzBMrCjkVMImXZXUV+R oZyBA85ZCWjxJ46t08e8eXwOXHnEKQgF+FGVuRi7w3O5GyDqFGLD36f3MlIxJCh4CZ8j /IZeGE6XmjHOjy05fB984/Vf1uv6UfrSNTVlTSIyCtC+8HAxRp7AHJy2Eo5YwlEvke6a DI0N6mNDQj14KE7vy7A/ti/vwRK0SGjNu2rnv8BjTf5BrC9/25EisCj/On5cImgsnxsL tuUPN2MiosStS5JuUaTRT5naIZrh2gpX5Q3Hfc7WH8PL+SYHttdtssSVB7Qb+TGnVRKS NqYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=R8GglY+6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v76si783646pfa.96.2018.04.02.13.01.48; Mon, 02 Apr 2018 13:02:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=R8GglY+6; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932430AbeDBUAj (ORCPT + 99 others); Mon, 2 Apr 2018 16:00:39 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:43242 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932400AbeDBUAh (ORCPT ); Mon, 2 Apr 2018 16:00:37 -0400 Received: by mail-wr0-f193.google.com with SMTP id p53so15383325wrc.10; Mon, 02 Apr 2018 13:00:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=eQEKjC+ux1MNyqdLOlDkAa7y0wBpQmqENHNtHmBBa8c=; b=R8GglY+6B4plmgvh/pRxijOOlm0ttq2ptaN3wb5gfB8TJKcQnGyHkyG0yN6WU3mJ9C WUjkHDHZj9dnUnJeX9hbGEljJntYA1UU/iAtWzc31jXIMDXPtlXkSQEZEy8TU9C/dMs3 im98cdcftU7p+2eUtoovgqgsOX0me2BrbBbWJ8KVXJSz7zD1QNsfCraR7zn1E74597Bl u2OZOfBNLswHgkK94QwhW9n6IjzCA8oBdE8AGuBk20B3PNsC5MkghqM+vyfkRBQCsqFV a5WgqnLivKNYTP/YfCMNTOeRjDx4ocLgn2ZLtSsEA1Q0jhVH2o7zGS1R+Ro1nrVR+B+k pwdA== 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=eQEKjC+ux1MNyqdLOlDkAa7y0wBpQmqENHNtHmBBa8c=; b=miC6SgiLzBHIFIaC/21O8Ur8VOdNzuHE1XlFoMWhrCmvsF8Hrpj6KDMXWyXUl+0q3Y 94dNEMGauk3pb0YdoFRAiHdurlMYeL1umsQ1qyFm3JoMXHaXBs3I+BtIqeV3kPy0Fsyj WKMPRWQQ3zQUKAENl6Guf6Z5QaSoqhEsQiZSiwmVZMUGMiqbypksZQWZvaR04YvkXb5s La/UM+X3TYhubEHClM4RBw/y8Nsjua8ZHZjXC3ngszPNBdgEspOf/75xEzMSFHfPXPxy 6GHtQPnA4eMlBFqKPS5/kGAbT/pBt3zXbju18UtXRlOcSCYYusGk69aHq5UPXVhl4lLY tnNw== X-Gm-Message-State: AElRT7Fu57G0ooLBbfnmdLDSf+78cdisbn65Z33TMQ+hLdMTp+0aeYVJ 0xVHuZOVeRuddKlLn+kK2+8= X-Received: by 10.223.182.18 with SMTP id f18mr4848041wre.211.1522699235789; Mon, 02 Apr 2018 13:00:35 -0700 (PDT) Received: from localhost.localdomain ([151.240.160.82]) by smtp.gmail.com with ESMTPSA id m62sm2685719wmc.25.2018.04.02.13.00.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 02 Apr 2018 13:00:35 -0700 (PDT) From: Nasser Afshin X-Google-Original-From: Nasser Afshin To: mchehab@kernel.org Cc: Nasser Afshin , Hans Verkuil , Sakari Ailus , Philipp Zabel , "Gustavo A. R. Silva" , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/3] media: i2c: tvp5150: Use the correct comment style Date: Tue, 3 Apr 2018 00:29:04 +0430 Message-Id: <20180402195907.14368-3-Afshin.Nasser@gmail.com> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20180402195907.14368-1-Afshin.Nasser@gmail.com> References: <20180402195907.14368-1-Afshin.Nasser@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch resolves some checkpatch.pl warnings about comments. Signed-off-by: Nasser Afshin --- drivers/media/i2c/tvp5150.c | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/drivers/media/i2c/tvp5150.c b/drivers/media/i2c/tvp5150.c index af56a5a6db65..d561d87d219a 100644 --- a/drivers/media/i2c/tvp5150.c +++ b/drivers/media/i2c/tvp5150.c @@ -500,10 +500,12 @@ struct i2c_vbi_ram_value { * and so on. There are 16 possible locations from 0 to 15. */ -static struct i2c_vbi_ram_value vbi_ram_default[] = -{ - /* FIXME: Current api doesn't handle all VBI types, those not - yet supported are placed under #if 0 */ +static struct i2c_vbi_ram_value vbi_ram_default[] = { + + /* + * FIXME: Current api doesn't handle all VBI types, those not + * yet supported are placed under #if 0 + */ #if 0 [0] = {0x010, /* Teletext, SECAM, WST System A */ {V4L2_SLICED_TELETEXT_SECAM, 6, 23, 1}, @@ -1101,11 +1103,14 @@ static int tvp5150_s_routing(struct v4l2_subdev *sd, static int tvp5150_s_raw_fmt(struct v4l2_subdev *sd, struct v4l2_vbi_format *fmt) { - /* this is for capturing 36 raw vbi lines - if there's a way to cut off the beginning 2 vbi lines - with the tvp5150 then the vbi line count could be lowered - to 17 lines/field again, although I couldn't find a register - which could do that cropping */ + /* + * this is for capturing 36 raw vbi lines + * if there's a way to cut off the beginning 2 vbi lines + * with the tvp5150 then the vbi line count could be lowered + * to 17 lines/field again, although I couldn't find a register + * which could do that cropping + */ + if (fmt->sample_format == V4L2_PIX_FMT_GREY) tvp5150_write(sd, TVP5150_LUMA_PROC_CTL_1, 0x70); if (fmt->count[0] == 18 && fmt->count[1] == 18) { -- 2.15.0