From: Lars-Peter Clausen Date: Sun, 9 Mar 2014 16:41:46 +0000 (+0100) Subject: ASoC: Pass CODEC to snd_soc_register_dais() X-Git-Tag: v3.15-rc1~36^2~1^2~5^2~14^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6cc240f39d393c5878bc6cf053aa0fe8e3fe4260;p=pandora-kernel.git ASoC: Pass CODEC to snd_soc_register_dais() snd_soc_register_dais() looks up the CODEC that is registering the DAIs by looping over all registered CODECs. This patch updates the code to simply pass the CODEC that registers the DAIs to snd_soc_register_dais() thus avoiding the lookup. Signed-off-by: Lars-Peter Clausen Signed-off-by: Mark Brown --- Reading git-diff-tree failed