ASoC: wm8962: Correct typo when setting DSPCLK rate
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Mon, 28 Mar 2016 09:47:34 +0000 (10:47 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 29 Mar 2016 17:04:57 +0000 (10:04 -0700)
commit33362c69c8e68281633a7c3a1d5c840e940097b7
tree94b1209b78f06b0383f5abab1c2f2a33f36a8022
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca
ASoC: wm8962: Correct typo when setting DSPCLK rate

The variable dspclk holds the rate of the DSPCLK, but the variable
sysclk holds an identifier for the clock. Currently if read a
non-sensical value from the DSPCLK_DIV register we assign sysclk to
dspclk, clearly this was intended to be sysclk_rate.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm8962.c