]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: wm8741: Fix rates constraints values
authorSergej Sawazki <ce3a@gmx.de>
Tue, 24 Mar 2015 20:13:22 +0000 (21:13 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 25 Mar 2015 15:29:19 +0000 (08:29 -0700)
commit1e020dd6efd5765654a43de9a9822c49ed2d5634
tree0378932ebac3d23b8d30c7bc7ed64de4ec89ce3c
parent9cbe621030a9cce16d27329dac74fd4b1c1d9412
ASoC: wm8741: Fix rates constraints values

The WM8741 DAC supports the following typical audio sampling rates:
  44.1kHz, 88.2kHz, 176.4kHz (eg: with a master clock of 22.5792MHz)
  32kHz, 48kHz, 96kHz, 192kHz (eg: with a master clock of 24.576MHz)

For the rates lists, we should use 82000 instead of 88235, 176400
instead of 1764000 and 192000 instead of 19200 (seems to be a typo).

Signed-off-by: Sergej Sawazki <ce3a@gmx.de>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
sound/soc/codecs/wm8741.c