ALSA: Add params_width() helpers
authorMark Brown <broonie@linaro.org>
Tue, 24 Dec 2013 12:24:28 +0000 (12:24 +0000)
committerMark Brown <broonie@linaro.org>
Mon, 30 Dec 2013 12:19:26 +0000 (12:19 +0000)
commit8c5178fca4ce5a57711ea14b807648e19b105d0e
tree03f1adde517d1292f4e87f49bff21e2dfd88c774
parent6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae
ALSA: Add params_width() helpers

Add helpers for obtaining the width of a format directly from params
since this is expected to become a common operation in ASoC.

Signed-off-by: Mark Brown <broonie@linaro.org>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
include/sound/pcm_params.h