commit | 91a5fca4b1987324f829efeff3bc5efb2ce6e752 | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Wed Apr 27 18:34:31 2011 +0200 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Wed Apr 27 22:33:13 2011 +0100 |
tree | 5b50655c0b67ad0107488df0c670c590749aede5 | |
parent | b864a8c9dd93f08ccaa706e075810e9398e25680 [diff] |
ASoC: Add dapm_find_widget helper This patch adds a helper function for searching DAPM widgets by name. This allows to streamline functions which operate on widgets by name. It also allows to get rid of copy'n'pasted code which was added to fallback to widgets from other contexts if the widget was not found in the current context. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>