ASoC: pcm: Add soc_dai_hw_params helper
authorBenoit Cousson <bcousson@baylibre.com>
Tue, 8 Jul 2014 21:19:38 +0000 (23:19 +0200)
committerMark Brown <broonie@linaro.org>
Wed, 16 Jul 2014 22:06:27 +0000 (23:06 +0100)
commit93e6958a3674d2fa42e2c24ad5156e65da1d8621
tree15b50754451784b8c65707975cfbebe304bf8bb6
parent8151d5e60232d31f35e04f4e49a5b0d98b00a737
ASoC: pcm: Add soc_dai_hw_params helper

Add a function helper to factorize the hw_params code.

Suggested by Lars-Peter Clausen <lars@metafoo.de>

Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
Tested-by: Lars-Peter Clausen <lars@metafoo.de>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
include/sound/soc.h
sound/soc/soc-dapm.c
sound/soc/soc-pcm.c