ASoC: wm8741: Fix rates constraints values
authorSergej Sawazki <ce3a@gmx.de>
Tue, 24 Mar 2015 20:13:22 +0000 (21:13 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 6 Aug 2015 23:32:00 +0000 (00:32 +0100)
commite9a498d91caee0e874f998ddad613f4363aaa4fa
tree53184bb04663806c6cfa06adf96a69d70a513699
parent3a0e4c9233a128776793b86d016057032329af89
ASoC: wm8741: Fix rates constraints values

commit 8787041d9bb832b9449b1eb878cedcebce42c61a upstream.

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>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
sound/soc/codecs/wm8741.c