From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH 3/3 v2] sound/soc/lapis: add platform driver for ML7213 IOH I2S Date: Tue, 27 Dec 2011 17:33:27 +0000 Message-ID: <20111227173326.GC22970@opensource.wolfsonmicro.com> References: <1324349144-12784-1-git-send-email-tomoya.rohm@gmail.com> <1324349144-12784-3-git-send-email-tomoya.rohm@gmail.com> <20111220132314.GQ2866@opensource.wolfsonmicro.com> <20111222005816.GB27144@opensource.wolfsonmicro.com> <20111222103946.GA4546@opensource.wolfsonmicro.com> <20111226121207.GF8722@opensource.wolfsonmicro.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from opensource.wolfsonmicro.com (opensource.wolfsonmicro.com [80.75.67.52]) by alsa0.perex.cz (Postfix) with ESMTP id DF8AD2414D for ; Tue, 27 Dec 2011 18:33:31 +0100 (CET) Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Tomoya MORINAGA Cc: Dimitris Papastamos , alsa-devel@alsa-project.org, Lars-Peter Clausen , Mike Frysinger , qi.wang@intel.com, Takashi Iwai , linux-kernel@vger.kernel.org, yong.y.wang@intel.com, kok.howg.ewe@intel.com, Daniel Mack , Liam Girdwood , joel.clark@intel.com List-Id: alsa-devel@alsa-project.org On Tue, Dec 27, 2011 at 10:25:25AM +0900, Tomoya MORINAGA wrote: > 2011/12/26 Mark Brown : > > So you're just talking about standard underflows if the application > > can't keep up? > No. not only underflow but overflow. Same difference. > > There's *no* reason for your driver to do anything about > > this, it's a really basic thing that affects all audio hardware. =A0Just > > write a driver for the hardware. > In case driver layer doesn't have the function, > which part works for the under/overflow ? Application ? or nothing ? Your driver has to accurately describe what the hardware supports and then the application layer is responsible for making sure it keeps up with things.