commit | 6cc240f39d393c5878bc6cf053aa0fe8e3fe4260 | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Sun Mar 09 17:41:46 2014 +0100 |
committer | Mark Brown <broonie@linaro.org> | Mon Mar 10 12:17:54 2014 +0000 |
tree | fe7fc6e546906ffe2a67f62276f9b1beba848813 | |
parent | 32c9ba544b65991b14ede102928c552ed24d4827 [diff] |
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 <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@linaro.org>