ASoC: samsung: i2s: Support more resolution rates
authorJaechul Lee <jcsing.lee@samsung.com>
Fri, 7 Jul 2017 01:31:10 +0000 (10:31 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 17 Jul 2017 11:05:59 +0000 (12:05 +0100)
commit4720c2fe196fc16fca9c902bec5c786ae4689842
treef62c569c3725d34fba3a146f5d07adf51752fa2b
parent5771a8c08880cdca3bfb4a3fc6d309d6bba20877
ASoC: samsung: i2s: Support more resolution rates

This driver can support more frequencies over 96KHz. There are no reasons
to limit the frequency range below 96KHz. If codecs/amps or something else
can't support higher resolution rates, the constraints would be set rates
properly because each drivers have its own limits.

I added the 'pcm_rates' field to the dai_data to be set rates by the
compatibilities. As a result, rates will be set each devices respectively.
For example of exynos5433, rates will be set from 8KHz to 192KHz.

Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/samsung/i2s.c