[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20110905174503.GI3889@opensource.wolfsonmicro.com>
Date: Mon, 5 Sep 2011 10:45:04 -0700
From: Mark Brown <broonie@...nsource.wolfsonmicro.com>
To: Lars-Peter Clausen <lars@...afoo.de>
Cc: Liam Girdwood <lrg@...com>, alsa-devel@...a-project.org,
device-drivers-devel@...ckfin.uclinux.org,
uclinux-dist-devel@...ckfin.uclinux.org,
linux-kernel@...r.kernel.org,
Scott Jiang <scott.jiang.linux@...il.com>
Subject: Re: [PATCH 2/3] ASoC: Allow codecs to provide their own regmap
configuration
On Mon, Sep 05, 2011 at 07:43:22PM +0200, Lars-Peter Clausen wrote:
> I think it is useful, since we avoid duplicating that ugly switch statement
> and we also have to wrap regmap_write and regmap_read, duplicating that in each
> codec driver doesn't make sense.
When the CODEC drivers do the probe they should be setting the regmap up
in their individual bus probe functions so no switch statement.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists