ASoC: ak4104: Limit the supported sample rates
authorVishal Thanki <vishalthanki@gmail.com>
Mon, 26 Sep 2016 13:34:19 +0000 (15:34 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 26 Sep 2016 16:35:10 +0000 (09:35 -0700)
commitc14c59f2e9ca2dc3ddb3af67b71a11feaaacbbce
tree5ed3662fc2b6fb36a2630daf75055119567e3a1f
parent29b4817d4018df78086157ea3a55c1d9424a7cfc
ASoC: ak4104: Limit the supported sample rates

Currently the driver exposes range of sample rates between 8KHz to
192KHz as a part of dai_driver. This does not hold true as the limited
number sample rates are allowed in hw_params DAI callback. This patch
limits the sample rates exposed via dai_driver.

Signed-off-by: Vishal Thanki <vishalthanki@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/ak4104.c