Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp2106450pxf; Sat, 3 Apr 2021 11:11:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyo7OFeQVBycHRdJEnnk2F8jzjMm3n+JtfOh/TkbziMTtgoftlh3cc/sql44ZHflrYsk2bT X-Received: by 2002:a05:6e02:1a6f:: with SMTP id w15mr14955208ilv.26.1617473460322; Sat, 03 Apr 2021 11:11:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617473460; cv=none; d=google.com; s=arc-20160816; b=bQL9L47w+c5WDq9y72Tq+KH4SZ0v/KflRtv6TXymTi2WwDY035pbY9DeYIFgkWZUPN 5crwI1Q4yVzXvzwx8poFCPKZy4nSTWyFERpBmwL4fdOlKIrslcOf9kWa49vrULq6eRdA q0owh6DLj1fNj8cfzYdrsFjXifvhTd/GdbbYVbVz0g3FxMdg9XLcf7SzcbLUG4FpuAib YYzA2FtplVU1c8/0zoSINjh/vEEFmtWmaF7nZUlb5Pfu5Xs+I+Usr8IX4/P1hQGeSonW gOa9I9RBABS+gkm/UMBPQpLgWlIp7rrgCksLpCb70eOwQkatFjpe4I99Z7UuW4qjLkNw B7sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=bvM51z8cjqX/PN4QCJT3+RrZd+ouVe3FEK6NjdrSmdI=; b=r8dcmCsu0qY56k43NfzRZh02SRi/Una9hJpOlTOElg2jA7zEjYgCIyCsJjdqLlXmLK DM+Pifhs2cI6U6jAI7zG5rcBTOy8SM+TbyhmJjq+rPYWPJuOliciPvZ+pO5gDZ0Ino58 GnbLnvrGJOGrFrxwQVqViWqXEdP1kUxwckqQYJpWhMERG9C5cPXQVySO90lLffcLQb34 8aGYFRnYKv0zLlERLj0DwPqj75inpI+phWPHCVw3f+6MDRm659LEfBL9Ed/eu6Irllga iggXiAWB47L4FajsuIGm1bjg4TpfeKjhEy2dSnfdCEb6J59UlfWLrMYDY/sigWqEwRHL 7r6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=AF6mfDWc; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x14si11956645jat.96.2021.04.03.11.10.47; Sat, 03 Apr 2021 11:11:00 -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=@gmail.com header.s=20161025 header.b=AF6mfDWc; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236974AbhDCSJP (ORCPT + 99 others); Sat, 3 Apr 2021 14:09:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35128 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236954AbhDCSJL (ORCPT ); Sat, 3 Apr 2021 14:09:11 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22C66C061788; Sat, 3 Apr 2021 11:09:08 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id o126so11807314lfa.0; Sat, 03 Apr 2021 11:09:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=bvM51z8cjqX/PN4QCJT3+RrZd+ouVe3FEK6NjdrSmdI=; b=AF6mfDWcVrLIMbqyiZR8LuSuQqxOasPruw4me7RZORQceTtBgOEWeKVqNRSYU/pIyZ HlPAqvGMNH1zCymtaEFDl/Lj+2S7DbrMpQIfbsMyHXNdm+UQlxZc2o5FP0w9ybMG9VHW lov3Tk+BcVGlm1Lk3brc5REz6s9NlkHNvCBJdvdFsVDvFla1M3LXl8WWGhsYa9I8fItI XS9DUlGT+/7J16HGvLSp7PfSi6xm8ZVonAHBDi5PUYk0PNdpB1d3SA4eFzKdSWnBTeKD JFfaS8p+E0FGrXxhj5srbWsXoA1WOzDGHplq5AVKokkIPP5gq9wp5TqbruUrvXDMUBiu q0Xw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=bvM51z8cjqX/PN4QCJT3+RrZd+ouVe3FEK6NjdrSmdI=; b=m0CnGj15Hi5XGAUzjlfJ5GMrmYPI+naoegtPVbSJgwRVuLlgX0NXpdmtXlQtB6NSKY 8H/OCxU8KQkYyn0itv+RIBRp2zqifZ8CfqeX8ziCDjPCx8u/8KS4G9tv8ltLFAwvbowy 8q2A7IyMaVhUG1iH1qA6lTzvYbW5KMzqnvnnITewGBe/9J+FvmimuyFmEICxlI4XVm6T pKeOUyfQeI+fwJk1iLItOxVu9k7lKnjmMVmjaj6YA/vLdusYmu9r0ZgIaD28tsMmDaHA vcdtZmaxIIOoprRSS9FEASP9Tgz+dK8FJSHOKwcNMkvw2EdWpRDEklX2QLEJDOI+LWRO 1ZXg== X-Gm-Message-State: AOAM532gTe4zNrMuZsxPay/fV/ArXyRP5wFzQZFewbLtGD6BPgEUxHF5 DvncnGl9YtNS1CuCV92x9Ns= X-Received: by 2002:ac2:5091:: with SMTP id f17mr12690500lfm.660.1617473346707; Sat, 03 Apr 2021 11:09:06 -0700 (PDT) Received: from zhans ([37.151.32.231]) by smtp.gmail.com with ESMTPSA id e11sm1204585lfc.141.2021.04.03.11.09.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 11:09:06 -0700 (PDT) Date: Sun, 4 Apr 2021 00:09:04 +0600 From: Zhansaya Bagdauletkyzy To: clabbe@baylibre.com, mchehab@kernel.org, gregkh@linuxfoundation.org Cc: linux-media@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy-kernel@googlegroups.com Subject: [PATCH 5/7] staging: media: zoran: Rename 'VidWinHt' to 'vid_win_ht' Message-ID: <652f88a0cd62b91ebbb1ccee153a73d8d8fd3fda.1617472411.git.zhansayabagdaulet@gmail.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rename 'VidWinHt' to 'vid_win_ht' to eliminate camelcase. Reported by checkpatch.pl. Signed-off-by: Zhansaya Bagdauletkyzy --- drivers/staging/media/zoran/zoran_device.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/media/zoran/zoran_device.c b/drivers/staging/media/zoran/zoran_device.c index f0344f4a4727..49e0efcc0062 100644 --- a/drivers/staging/media/zoran/zoran_device.c +++ b/drivers/staging/media/zoran/zoran_device.c @@ -293,7 +293,7 @@ static void zr36057_set_vfe(struct zoran *zr, int video_width, int video_height, const struct tvnorm *tvn; unsigned int h_start, h_end, v_start, v_end; unsigned int disp_mode; - unsigned int vid_win_wid, VidWinHt; + unsigned int vid_win_wid, vid_win_ht; unsigned int hcrop1, hcrop2, vcrop1, vcrop2; unsigned int wa, We, ha, He; unsigned int X, Y, hor_dcm, ver_dcm; @@ -342,9 +342,9 @@ static void zr36057_set_vfe(struct zoran *zr, int video_width, int video_height, /* Vertical */ disp_mode = !(video_height > BUZ_MAX_HEIGHT / 2); - VidWinHt = disp_mode ? video_height : video_height / 2; - Y = DIV_ROUND_UP(VidWinHt * 64 * 2, tvn->ha); - He = (VidWinHt * 64) / Y; + vid_win_ht = disp_mode ? video_height : video_height / 2; + Y = DIV_ROUND_UP(vid_win_ht * 64 * 2, tvn->ha); + He = (vid_win_ht * 64) / Y; ver_dcm = 64 - Y; vcrop1 = (tvn->ha / 2 - He) / 2; vcrop2 = tvn->ha / 2 - He - vcrop1; @@ -383,7 +383,7 @@ static void zr36057_set_vfe(struct zoran *zr, int video_width, int video_height, /* display configuration */ reg = (16 << ZR36057_VDCR_MIN_PIX) - | (VidWinHt << ZR36057_VDCR_VID_WIN_HT) + | (vid_win_ht << ZR36057_VDCR_VID_WIN_HT) | (vid_win_wid << ZR36057_VDCR_VID_WIN_WID); if (pci_pci_problems & PCIPCI_TRITON) // || zr->revision < 1) // Revision 1 has also Triton support -- 2.25.1