]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbe2cd656bf6efadd42c1669540e6e7b0a85c5bb1
treee05838d0923ffce632897b46954468349a661c7a
parent47d12316518640aa9e856e4fc971174d5283f47e
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