Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764278AbYFFGPe (ORCPT ); Fri, 6 Jun 2008 02:15:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751126AbYFFGP0 (ORCPT ); Fri, 6 Jun 2008 02:15:26 -0400 Received: from ns2.suse.de ([195.135.220.15]:39288 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752673AbYFFGPZ (ORCPT ); Fri, 6 Jun 2008 02:15:25 -0400 Date: Fri, 06 Jun 2008 08:15:22 +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: <20080605190657.754df524@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> <20080605190657.754df524@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: 1755 Lines: 47 At Thu, 5 Jun 2008 19:06:57 +0200, Haavard Skinnemoen wrote: > > Takashi Iwai wrote: > > Of course, important. And it's actually done in a different way... > [...] > > Of course, important. And it's actually done in a different way... > > But why? > > > 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" :) > > Still, both plug into the same VFS layer... Read as ALSA is VFS layer and ASoC is ext3 while another sound driver is reiserfs (or vice versa). Both have journals. Then would you ask why ext3 doesn't reuse the journal codes of reiserfs? Or, do you suggest to add journal codes into VFS layer? Of course, the situation is different than fs. The fact is that both ASoC and other drivers have been developed in a parallel way although both use ALSA as backends. ASoC is a higher and easier abstraction layer specific for the mobile devices and it has the features like power-saving in its middle layer. The ASoC drivers are top layers over ASoC over ALSA. Meanwhile, other ALSA drivers directly communicate with ALSA layer. Some of them have similar features like ASoC, but it doesn't use ASoC code because it was implemented before ASoC and differently from ASoC. > Reiser4 tried to invent its own plugin system. IIRC that didn't fly > particularly well. ASoC is just a middle layer. Not comparable with plugins. 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/