commit | 0f2780ad4c2a398528c7bb1572158d6e894e5dd2 | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Thu Jul 17 22:01:08 2014 +0200 |
committer | Mark Brown <broonie@linaro.org> | Tue Jul 22 23:15:57 2014 +0100 |
tree | bcaf015bda60b9af68573a6c0ec75d5245845323 | |
parent | 00200107a296cad3a950049a5ad7134a0d962b8d [diff] |
ASoC: Add function to register component controls We have now everything in place to actual let a component register controls. Add a function which allows to do so. Also update snd_soc_add_codec_controls() and snd_soc_platform_controls() to use this new function internally. And while we are at it also change the num_controls parameter of those two functions from int to unsigned int. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@linaro.org>