From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Brown Subject: Re: [PATCH 2/2] ASoC: tlv320dac33: Add support for automatic FIFO configuration Date: Tue, 27 Jul 2010 09:33:31 -0700 Message-ID: <20100727163330.GB18884@opensource.wolfsonmicro.com> References: <1280213177-15439-1-git-send-email-peter.ujfalusi@nokia.com> <1280213177-15439-3-git-send-email-peter.ujfalusi@nokia.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from opensource2.wolfsonmicro.com (opensource.wolfsonmicro.com [80.75.67.52]) by alsa0.perex.cz (Postfix) with ESMTP id BABCD103807 for ; Tue, 27 Jul 2010 18:33:19 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1280213177-15439-3-git-send-email-peter.ujfalusi@nokia.com> 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: Peter Ujfalusi Cc: alsa-devel@alsa-project.org, lrg@slimlogic.co.uk List-Id: alsa-devel@alsa-project.org On Tue, Jul 27, 2010 at 09:46:17AM +0300, Peter Ujfalusi wrote: > Platform parameter to enable automatic FIFO configuration when > the codec is in Mode1 or Mode7 FIFO mode. > When this mode is selected, the controls for changing > nSample (in Mode1), and UTHR (in Mode7) are not added. > The driver configures the FIFO configuration based on > the stream's period size in a way, that every burst will > read period size of data from the host. > In Mode7 we need to use a formula, which gives close enough > aproximation for the burst length from the host point > of view. > > Signed-off-by: Peter Ujfalusi Acked-by: Mark Brown