]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ALSA] soc - DAPM - Bulk route registration
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 13 May 2008 12:52:19 +0000 (14:52 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 19 May 2008 11:19:18 +0000 (13:19 +0200)
commit105f1c28442301237d20b05a3d52d9987614016f
treed91e8de8092eeb5de8db676ffa8dd7cbb6f6d338
parent4ba1327ab8ce179c40862f3dedb4ebaaa491d737
[ALSA] soc - DAPM - Bulk route registration

ASoC codecs and machine drivers that use DAPM routes all cut'n'paste a
loop iterating over a null terminated array of routes.  Factor out this
into a bulk registration function, improving the error reporting for
most users, and deprecate the old API to help out of tree users pick up
the changes.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Graeme Gregory <graeme@openmoko.org>
Cc: Frank Mandarino <fmandarino@endrelia.com>
Cc: Jarkko Nikula <jarkko.nikula@nokia.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
include/sound/soc-dapm.h
sound/soc/soc-dapm.c