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)
commit518f6bab13842a5f25bd8f89b1cae32aa8adf91f
treee3e637b885e9a425760e9e6963079399ecde69be
parent5935a05626bc84810175e5f7b03b355a90769368
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