From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753469AbbDBINk (ORCPT ); Thu, 2 Apr 2015 04:13:40 -0400 Received: from down.free-electrons.com ([37.187.137.238]:47128 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752825AbbDBINZ (ORCPT ); Thu, 2 Apr 2015 04:13:25 -0400 Date: Thu, 2 Apr 2015 10:13:18 +0200 From: Alexandre Belloni To: Mark Brown Cc: Bo Shen , Nicolas Ferre , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org Subject: Re: [PATCH] ASoC: atmel-pcm-dma: increase buffer_bytes_max Message-ID: <20150402081318.GF20669@piout.net> References: <1427744437-14610-1-git-send-email-alexandre.belloni@free-electrons.com> <20150401203342.GH6023@sirena.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150401203342.GH6023@sirena.org.uk> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/04/2015 at 21:33:42 +0100, Mark Brown wrote : > On Mon, Mar 30, 2015 at 09:40:37PM +0200, Alexandre Belloni wrote: > > atmel-pcm-dma is not limited to a buffer size of 64kB like atmel-pcm-pdc. > > Increase buffer_bytes_max to 512kB to allow for higher bit rates (i.e. 32bps at > > 192kHz) to work correctly. By default, keep the prealloc at 64kB. > > Applied, but please look into Lars' suggestion - we should be able to > just figure everything out from the DMA controller. This is definitively on the TODO list. -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com