From patchwork Mon Sep 27 13:06:38 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ruslanpisarev@gmail.com X-Patchwork-Id: 212242 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o8RD6q9U019104 for ; Mon, 27 Sep 2010 13:06:52 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754180Ab0I0NGv (ORCPT ); Mon, 27 Sep 2010 09:06:51 -0400 Received: from mail-bw0-f46.google.com ([209.85.214.46]:51039 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751502Ab0I0NGu (ORCPT ); Mon, 27 Sep 2010 09:06:50 -0400 Received: by bwz11 with SMTP id 11so3246776bwz.19 for ; Mon, 27 Sep 2010 06:06:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references; bh=KD9XvllbDPV/q1TXjkkWe+Fc+Bql1RutGhiE19CweIM=; b=f63mgJJVzUGfPnfaIUbqQeNTteARY9ICkn7YV1Hdt7+zxyZt46lOVF/uYOXjJXANi3 R5IRvFwsAZKq0tb7E0A9c88JZe7yg2godhkiyFgvgEJAwhGp3ZZisbS2SuwDjoGH1uGR 5DbJa8AN+45HjeWHXE+T4F4SreDDNVIOVW7nA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=cBu+43S3TB5Y3/YPsCca3CSX2kjxuqoalTFemREs5oSNnMOqdynjobIZGTgrRNaQX9 3u8MPNrpOi8l1u/SkLSoUHkffOWX1HxvCIg3QgycYWBHyoVRuUlAimVyPMh220Sedosh iFh/WABn8IWaN2VNEm3gZqkQhtrmpEIyVxmyc= Received: by 10.204.121.84 with SMTP id g20mr5304040bkr.37.1285592809560; Mon, 27 Sep 2010 06:06:49 -0700 (PDT) Received: from localhost.localdomain ([109.254.0.19]) by mx.google.com with ESMTPS id y2sm4358109bkx.8.2010.09.27.06.06.47 (version=SSLv3 cipher=RC4-MD5); Mon, 27 Sep 2010 06:06:48 -0700 (PDT) From: Ruslan Pisarev To: linux-media@vger.kernel.org Cc: ruslan@rpisarev.org.ua Subject: [PATCH 10/13] Staging: cx25821: fix tabs and space coding style issue in cx25821-video-upstream-ch2.h Date: Mon, 27 Sep 2010 16:06:38 +0300 Message-Id: <1285592798-32694-1-git-send-email-ruslan@rpisarev.org.ua> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: References: Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Mon, 27 Sep 2010 13:06:53 +0000 (UTC) diff --git a/drivers/staging/cx25821/cx25821-video-upstream-ch2.h b/drivers/staging/cx25821/cx25821-video-upstream-ch2.h index 6234063..029e830 100644 --- a/drivers/staging/cx25821/cx25821-video-upstream-ch2.h +++ b/drivers/staging/cx25821/cx25821-video-upstream-ch2.h @@ -88,14 +88,14 @@ #endif #ifndef USE_RISC_NOOP_VIDEO -#define PAL_US_VID_PROG_SIZE ((PAL_FIELD_HEIGHT + 1) * 3 * DWORD_SIZE + RISC_WRITECR_INSTRUCTION_SIZE ) -#define PAL_RISC_BUF_SIZE ( 2 * (RISC_SYNC_INSTRUCTION_SIZE + PAL_US_VID_PROG_SIZE) ) +#define PAL_US_VID_PROG_SIZE ((PAL_FIELD_HEIGHT + 1) * 3 * DWORD_SIZE + RISC_WRITECR_INSTRUCTION_SIZE) +#define PAL_RISC_BUF_SIZE (2 * (RISC_SYNC_INSTRUCTION_SIZE + PAL_US_VID_PROG_SIZE)) #define PAL_VID_PROG_SIZE ((PAL_FIELD_HEIGHT*2) * 3 * DWORD_SIZE + 2*RISC_SYNC_INSTRUCTION_SIZE + \ - RISC_WRITECR_INSTRUCTION_SIZE + JUMP_INSTRUCTION_SIZE ) -#define ODD_FLD_PAL_PROG_SIZE ((PAL_FIELD_HEIGHT) * 3 * DWORD_SIZE + RISC_SYNC_INSTRUCTION_SIZE + RISC_WRITECR_INSTRUCTION_SIZE ) -#define ODD_FLD_NTSC_PROG_SIZE ((NTSC_ODD_FLD_LINES) * 3 * DWORD_SIZE + RISC_SYNC_INSTRUCTION_SIZE + RISC_WRITECR_INSTRUCTION_SIZE ) + RISC_WRITECR_INSTRUCTION_SIZE + JUMP_INSTRUCTION_SIZE) +#define ODD_FLD_PAL_PROG_SIZE ((PAL_FIELD_HEIGHT) * 3 * DWORD_SIZE + RISC_SYNC_INSTRUCTION_SIZE + RISC_WRITECR_INSTRUCTION_SIZE) +#define ODD_FLD_NTSC_PROG_SIZE ((NTSC_ODD_FLD_LINES) * 3 * DWORD_SIZE + RISC_SYNC_INSTRUCTION_SIZE + RISC_WRITECR_INSTRUCTION_SIZE) #define NTSC_US_VID_PROG_SIZE ((NTSC_ODD_FLD_LINES + 1) * 3 * DWORD_SIZE + RISC_WRITECR_INSTRUCTION_SIZE + JUMP_INSTRUCTION_SIZE) -#define NTSC_RISC_BUF_SIZE (2 * (RISC_SYNC_INSTRUCTION_SIZE + NTSC_US_VID_PROG_SIZE) ) +#define NTSC_RISC_BUF_SIZE (2 * (RISC_SYNC_INSTRUCTION_SIZE + NTSC_US_VID_PROG_SIZE)) #define FRAME1_VID_PROG_SIZE ((NTSC_ODD_FLD_LINES + NTSC_FIELD_HEIGHT) * 3 * DWORD_SIZE + 2*RISC_SYNC_INSTRUCTION_SIZE + \ - RISC_WRITECR_INSTRUCTION_SIZE + JUMP_INSTRUCTION_SIZE ) + RISC_WRITECR_INSTRUCTION_SIZE + JUMP_INSTRUCTION_SIZE) #endif