[alsa-devel] [PATCH 4/4] ASoC: Convert bunch of codecs to use soc-core interconnect registration
broonie at opensource.wolfsonmicro.com
Thu Jan 27 10:58:18 CET 2011
On Thu, Jan 27, 2011 at 09:21:16AM +0200, Jarkko Nikula wrote:
> Peter Ujfalusi <peter.ujfalusi at nokia.com> wrote:
> > I don't see how these actually simplifies the codec drivers.
> > We had a single snd_soc_dapm_add_routes call before the patches, now we
> > have two fields to fill in snd_soc_codec_driver...
> Yeah, simplification comes only if a driver is checking the return value
> what most are not doing currently.
For me anything that moves things from code to data structures is a
simplification since it reduces the variation between drivers. It's not
going to make a massive difference either way to the driver itself but
it makes life easier if you want to do something to all drivers.
More information about the Alsa-devel