From: Mark Brown Date: Tue, 13 May 2008 12:52:19 +0000 (+0200) Subject: [ALSA] soc - DAPM - Bulk route registration X-Git-Tag: v2.6.27-rc1~1111^2~159 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=105f1c28442301237d20b05a3d52d9987614016f;p=pandora-kernel.git [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 Cc: Graeme Gregory Cc: Frank Mandarino Cc: Jarkko Nikula Cc: Richard Purdie Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- Reading git-diff-tree failed