ASoC: wm8741: Set OSR mode in hw_params()
authorSergej Sawazki <sergej@taudac.com>
Sun, 10 Feb 2019 15:29:29 +0000 (16:29 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 11 Feb 2019 16:05:56 +0000 (16:05 +0000)
commite9418629e2fcf7374c19750f3afa7f3a7ff0afa2
treeee5225594942287b92e44f3fd11811bc965a5815
parent36b1599340b5bbaf4d4f015cbfe89b7bc8cd7873
ASoC: wm8741: Set OSR mode in hw_params()

For correct operation of the digital filtering and other processing on the
WM8741, the user must ensure the correct value of OSR[1:0] is set at all
times.[1] Hence, depending the selected sampling rate, set the OSR (over-
sampling rate) mode in hw_params().

References:
[1] "WM8741 Data Sheet"

Signed-off-by: Sergej Sawazki <sergej@taudac.com>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm8741.c