ASoC: pcm: Use snd_pcm_rate_mask_intersect() helper
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 11 Jan 2014 09:24:44 +0000 (10:24 +0100)
committerMark Brown <broonie@linaro.org>
Tue, 14 Jan 2014 20:42:34 +0000 (20:42 +0000)
commit55dcdb5051930dee75e9e2c0da90bc82ee3dcd77
treee05838d0923ffce632897b46954468349a661c7a
parente3a9269f874067fcefc5eb8037466161fb0fe3f4
ASoC: pcm: Use snd_pcm_rate_mask_intersect() helper

Instead of open-coding the intersecting of two rate masks (and getting slightly
wrong for some of the corner cases) use the new snd_pcm_rate_mask_intersect()
helper function.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/soc-pcm.c