ASoC: arizona: fix range of OPCLK_REF
authorRichard Fitzgerald <rf@opensource.wolfsonmicro.com>
Tue, 3 Nov 2015 14:24:12 +0000 (14:24 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 3 Nov 2015 19:07:07 +0000 (19:07 +0000)
commit341604ad839d10314af51669fd454dc0aa2ef288
treee790cf9364e314e6028ab92268085bac848df855
parent6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f
ASoC: arizona: fix range of OPCLK_REF

The code was able to generate illegal OPCLK_REF values because the
reference frequency tables listed all values of SYSCLK instead of
valid values for OPCLK_REF clock. The maximum OPCLK_REF clock is
49.152MHz or 45.1584MHz.

Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/arizona.c