From: Takashi Iwai Subject: Re: [PATCH] Add ASoC AK4535 codec driver. Date: Tue, 20 Nov 2007 16:20:08 +0100 Message-ID: References: <1195550746-6892-10-git-send-email-broonie@opensource.wolfsonmicro.com> <1195550746-6892-11-git-send-email-broonie@opensource.wolfsonmicro.com> <1195550746-6892-12-git-send-email-broonie@opensource.wolfsonmicro.com> <1195550746-6892-13-git-send-email-broonie@opensource.wolfsonmicro.com> <1195550746-6892-14-git-send-email-broonie@opensource.wolfsonmicro.com> <1195550746-6892-15-git-send-email-broonie@opensource.wolfsonmicro.com> <1195550746-6892-16-git-send-email-broonie@opensource.wolfsonmicro.com> <20071120150530.GF21414@sirena.org.uk> <20071120153538.GA1744@sirena.org.uk> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (ns2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id 8972024A47 for ; Tue, 20 Nov 2007 16:49:11 +0100 (CET) In-Reply-To: <20071120153538.GA1744@sirena.org.uk> 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: Mark Brown Cc: Richard Purdie , liam.girdwood@wolfsonmicro.com, alsa-devel@alsa-project.org, Milan Plzik , i2c@lm-sensors.org List-Id: alsa-devel@alsa-project.org At Tue, 20 Nov 2007 15:35:41 +0000, Mark Brown wrote: > > On Tue, Nov 20, 2007 at 03:42:17PM +0100, Takashi Iwai wrote: > > Mark Brown wrote: > > > > consistency I'd rather leave this just now and then separately go > > > through and address this for all drivers at once - does that seem > > > sensible to you? > > > Well, the problem is that the dependency with I2C is incomplete right > > now. We may build ASOC=y and I2C=m, and you'll get unresolved symbols > > due to call of I2C function from asoc. > > Yes, I agree that this would be an improvement. I'd just like to do it > for all the drivers at once rather than have some of the drivers set up > one way and some another. Fair enough. > > I'm not sure what is the proper way to fix this. If the codec driver > > supports non-I2C and can be built without it, the explicit dependency > > on I2C is of course wrong. > > Yes, and of course users will still need to ensure that the appropriate > bus driver for their platform is availiable on their system, though that > could be loaded later. Still, we could make life a little easier for > some users so it seems a worthwhile thing to do even though it doesn't > solve everything. Agreed. Takashi