From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout-xforward.kundenserver.de (mout-xforward.kundenserver.de [212.227.17.5]) by ozlabs.org (Postfix) with ESMTP id F1F58DE3E9 for ; Tue, 6 Jan 2009 19:26:42 +1100 (EST) From: Stefan Roese To: Wolfgang Denk Subject: Re: [PATCH v5] spi: Add PPC4xx SPI driver Date: Tue, 6 Jan 2009 09:26:34 +0100 References: <1227628088-10849-1-git-send-email-sr@denx.de> <200901051912.25874.sr@denx.de> <20090105193117.E5AD98387CDB@gemini.denx.de> In-Reply-To: <20090105193117.E5AD98387CDB@gemini.denx.de> MIME-Version: 1.0 Message-Id: <200901060926.34287.sr@denx.de> Content-Type: text/plain; charset="iso-8859-1" Cc: David Brownell , linuxppc-dev@ozlabs.org, spi-devel-general@lists.sourceforge.net List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi Wolfgang, On Monday 05 January 2009, Wolfgang Denk wrote: > > IIRC (I didn't write the original version of this driver) then this > > comments simply refers to the fact that the platform can select a maximum > > SPI frequency via spi->max_speed_hz which is pretty obvious. So I'll just > > remove this comment in the next version. > > On PPC4xx systems we get one interrupt per transferred byte, i. e. > there is a direct relation between SPI bus frequency and interrupt > rate. > > Since this is a PPC4xx SPI driver, the comment is actually helpful to > understand the operation of the driver especially in relation to the > limitations of the hardware. > > Instead of removing the comment (which leaves the casual reader > clueless) it would probably better to add a sentence explaining the > one byte / one interrupt situation? OK, I'll this explanation instead. Thanks. Best regards, Stefan