From patchwork Mon Sep 27 13:02:44 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: 212172 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 o8RD2xJL018408 for ; Mon, 27 Sep 2010 13:02:59 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759143Ab0I0NC5 (ORCPT ); Mon, 27 Sep 2010 09:02:57 -0400 Received: from mail-bw0-f46.google.com ([209.85.214.46]:49001 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754405Ab0I0NC5 (ORCPT ); Mon, 27 Sep 2010 09:02:57 -0400 Received: by bwz11 with SMTP id 11so3242997bwz.19 for ; Mon, 27 Sep 2010 06:02:56 -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=yd19o3p4v7u+OWeOVhsieQXmYQDqmk+i3VlWXMUzBU4=; b=xzNvBiUvVVk6DwjJJ6DJdmCBiTztZsYwXxuiyMtpJqXbelSC1t2nTFtscViA7pNAH/ 1ZvknoKtlQCYM69SOW+0qPAWdjqF0cAHftlA5+9h8V9QLnMso8IqEpz/u9Pf00uMDiWW Mdii4SDSECHABjM2lhs9tMzU04lh0RdrV2a+s= 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=sqHLz1DSELWnzDMffA/urf2/IAgWs0dsCcPD92lFr6EzJO7xdW5IR3BhqKfU9vrrkq /C944MqfS96tZ2LmtNp8Ac/cyz6S2zWqtDIxgCvrUsc0GfUlrD3gPoo/ggaR3Kdag7aW +77hyaKkpXEBKE6s5YAoyfWsq5KvhRyrzVM94= Received: by 10.204.102.197 with SMTP id h5mr5346609bko.24.1285592576144; Mon, 27 Sep 2010 06:02:56 -0700 (PDT) Received: from localhost.localdomain ([109.254.0.19]) by mx.google.com with ESMTPS id x19sm4357922bkv.21.2010.09.27.06.02.53 (version=SSLv3 cipher=RC4-MD5); Mon, 27 Sep 2010 06:02:54 -0700 (PDT) From: Ruslan Pisarev To: linux-media@vger.kernel.org Cc: ruslan@rpisarev.org.ua Subject: [PATCH 03/13] Staging: cx25821: fix comments and space coding style issue in cx25821-audio.h Date: Mon, 27 Sep 2010 16:02:44 +0300 Message-Id: <1285592564-32202-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:02:59 +0000 (UTC) diff --git a/drivers/staging/cx25821/cx25821-audio.h b/drivers/staging/cx25821/cx25821-audio.h index 434b2a3..a702a0d 100644 --- a/drivers/staging/cx25821/cx25821-audio.h +++ b/drivers/staging/cx25821/cx25821-audio.h @@ -31,18 +31,18 @@ #define NUMBER_OF_PROGRAMS 8 /* - Max size of the RISC program for a buffer. - worst case is 2 writes per line - Space is also added for the 4 no-op instructions added on the end. -*/ + * Max size of the RISC program for a buffer. - worst case is 2 writes per line + * Space is also added for the 4 no-op instructions added on the end. + */ #ifndef USE_RISC_NOOP #define MAX_BUFFER_PROGRAM_SIZE \ - (2*LINES_PER_BUFFER*RISC_WRITE_INSTRUCTION_SIZE + RISC_WRITECR_INSTRUCTION_SIZE*4) + (2*LINES_PER_BUFFER*RISC_WRITE_INSTRUCTION_SIZE + RISC_WRITECR_INSTRUCTION_SIZE*4) #endif /* MAE 12 July 2005 Try to use NOOP RISC instruction instead */ #ifdef USE_RISC_NOOP #define MAX_BUFFER_PROGRAM_SIZE \ - (2*LINES_PER_BUFFER*RISC_WRITE_INSTRUCTION_SIZE + RISC_NOOP_INSTRUCTION_SIZE*4) + (2*LINES_PER_BUFFER*RISC_WRITE_INSTRUCTION_SIZE + RISC_NOOP_INSTRUCTION_SIZE*4) #endif /* Sizes of various instructions in bytes. Used when adding instructions. */