]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: davinci-macsp: Optimize implicit BLCK sample-rate rule
authorJyri Sarha <jsarha@ti.com>
Thu, 23 Apr 2015 13:16:06 +0000 (16:16 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 30 Apr 2015 19:47:16 +0000 (20:47 +0100)
commit9eddbb17467d74d5545a2dc80afa7828e1ca64c2
treee3e637b885e9a425760e9e6963079399ecde69be
parente3d05468e4fd422491bf88bf2fd6550128a878e8
ASoC: davinci-macsp: Optimize implicit BLCK sample-rate rule

There is no need to copy the list of all supported sample-rates.
Finding the supported endpoints within the current range is enough
(see snd_interval_list()).

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/davinci/davinci-mcasp.c