ASoC: fix params_rate() macro use in several codecs
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 24 Dec 2009 00:13:51 +0000 (01:13 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 24 Dec 2009 11:41:21 +0000 (11:41 +0000)
commitb3172f222ab5afdc91ea058bd11c42cf169728f3
tree56b74872ac36bed4fb51a26210b82dee9461f2ec
parent18f98ab54735f66ea84bf679b70fcec5e8b3df66
ASoC: fix params_rate() macro use in several codecs

Sevelar ASoC codec drivers wrongly assume, that the params_rate() macro
returns one of SNDRV_PCM_RATE_* defines instead of the actual numerical
sampling rate. Fix them.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@kernel.org
sound/soc/codecs/wm8510.c
sound/soc/codecs/wm8940.c
sound/soc/codecs/wm8974.c