Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759734AbYFEQyS (ORCPT ); Thu, 5 Jun 2008 12:54:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752987AbYFEQyH (ORCPT ); Thu, 5 Jun 2008 12:54:07 -0400 Received: from mail.suse.de ([195.135.220.2]:59958 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752427AbYFEQyG (ORCPT ); Thu, 5 Jun 2008 12:54:06 -0400 Date: Thu, 05 Jun 2008 18:54:01 +0200 Message-ID: From: Takashi Iwai To: Haavard Skinnemoen Cc: Geoffrey Wossum , kernel@avr32linux.org, linux-kernel@vger.kernel.org Subject: Re: AT32 ASoC Driver Patches on alsa-devel In-Reply-To: <20080605182409.6285ee4b@hskinnemo-gx745.norway.atmel.com> References: <200806050851.47319.geoffrey@pager.net> <20080605162206.0a34a54e@hskinnemo-gx745.norway.atmel.com> <200806051000.56969.geoffrey@pager.net> <20080605182409.6285ee4b@hskinnemo-gx745.norway.atmel.com> User-Agent: Wanderlust/2.12.0 (Your Wildest Dreams) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 MULE XEmacs/21.5 (beta28) (fuki) (x86_64-suse-linux) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1863 Lines: 43 At Thu, 5 Jun 2008 18:24:09 +0200, Haavard Skinnemoen wrote: > > > Number 1 reason (for me): The only driver for my CODEC (WM8510) was an ASoC > > driver. Using sound system other than ASoC would require porting / rewriting > > this driver. Since an AT91 ASoC platform driver already existed, and would > > be virtually the same as the AT32 platform driver, this was the best choice > > for getting sound quickly. So this essentially boils down to code reuse. > > And if we switch CODEC's for some reason, it's less work. > > That's certainly a good reason, though I don't understand why reusing > code isn't important on non-SoC platforms. Of course, important. And it's actually done in a different way... > > Another highly compelling reason: power consumption. Only powers up parts of > > the audio pathway that are currently needed. > > Another good reason, but again I don't understand why power management > isn't important on PCs. Of course, important. And it's actually done in a different way... > > For more reasons: http://alsa-project.org/main/index.php/ASoC > > The reasons are all good, but yet again, I don't understand why those > design goals aren't appropriate for ALSA as a whole. Mostly because of the difference of the target hardware design. From the very beginning, ASoC is designed specifically for mobile devices while ALSA is designed as a more generic abstraction. Ideally, more fusion would be possible, but practically it's not always worth. I don't think you want to merge codes between ext3 and reiserfs although both have similar "design goals" :) Takashi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/