From: Mark Brown Subject: Re: [PATCH 2/3] ASoC: Blackfin: add multi-channel supporting in Blackfin ASoC driver and AD1980 codec driver Date: Tue, 21 Oct 2008 09:37:17 +0100 Message-ID: <20081021083715.GA10841@sirena.org.uk> References: <1224560173-8728-1-git-send-email-cooloney@kernel.org> <1224560173-8728-3-git-send-email-cooloney@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from cassiel.sirena.org.uk (cassiel.sirena.org.uk [80.68.93.111]) by alsa0.perex.cz (Postfix) with ESMTP id 8D52F24762 for ; Tue, 21 Oct 2008 10:37:35 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1224560173-8728-3-git-send-email-cooloney@kernel.org> 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: Bryan Wu Cc: alsa-devel@alsa-project.org, Cliff Cai List-Id: alsa-devel@alsa-project.org On Tue, Oct 21, 2008 at 11:36:12AM +0800, Bryan Wu wrote: > +config SND_MULTICHAN_SUPPORT > + bool "Enable Multichannel Support" > + depends on SND_BF5XX_AC97 > + default n > + help > + Say y if you want AC97 driver to support up to 5.1 channel audio. > + this mode will consume much more memory for DMA. > + Should this be a user visible option or selected by the machine drivers? To be honest, I'm surprised that the multi-channel support can't only incur the extra memory consumpton when playing back a multi-channel stream - I'd have expected the hardware to work in the same way for a normal stereo stream even if multi-channel support is built in. > -void bf5xx_ac97_to_pcm(const struct ac97_frame *src, __u32 *dst, \ > +void bf5xx_ac97_to_pcm(const struct ac97_frame *src, __u16 *dst, \ > size_t count) > { Separately please submit a patch removing the needless continuation character here. > diff --git a/sound/soc/codecs/ad1980.c b/sound/soc/codecs/ad1980.c > index 1397b8e..e22fbdf 100644 > --- a/sound/soc/codecs/ad1980.c > +++ b/sound/soc/codecs/ad1980.c The codec driver changes should be submitted as a separate patch. They're good to go as-is.