]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: wm8741: Fix rates constraints values
authorSergej Sawazki <ce3a@gmx.de>
Tue, 24 Mar 2015 20:13:22 +0000 (21:13 +0100)
committerSasha Levin <sasha.levin@oracle.com>
Sun, 17 May 2015 23:12:15 +0000 (19:12 -0400)
commit26ea595bd51cfc49b2cc4498a8c34008cc08d27b
treeeb0f79a5279778ae5f140ba190b61d817ffd144b
parent8003c8f02736ffb3625f66c91a5ad1e5b4ead4a2
ASoC: wm8741: Fix rates constraints values

[ Upstream commit 8787041d9bb832b9449b1eb878cedcebce42c61a ]

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
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
sound/soc/codecs/wm8741.c