commit | eee5d7f99ae95059e1a3d1cfa2dea3ed8dbd94ac | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Mon Jul 29 17:13:57 2013 +0200 |
committer | Mark Brown <broonie@linaro.org> | Mon Jul 29 18:40:59 2013 +0100 |
tree | 438cc363a91ee9ddb6ca0584f30e80e476323ac3 | |
parent | 95dd5cd6e16d86786f7dc9da404ae477403d8f83 [diff] |
ASoC: dapm: Add a helper to get the CODEC for DAPM kcontrol We use the same 3 lines to get the CODEC for a kcontrol in a quite a few places. This patch puts them into a common helper function. Having this encapsulated in a helper function will also make it more easier to eventually change the data layout of the kcontrol's private data. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@linaro.org>