ASoC: Clean up WM8974 PLL configuration
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 30 Sep 2009 13:31:38 +0000 (14:31 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 30 Sep 2009 14:45:25 +0000 (15:45 +0100)
commitc36b2fc73a6c0e7b185b17d594b38398ce1f7fff
tree7e547f591106bf5611c0772917fe127f78560a59
parent25cbf465207e9616e9b7d362ee166abf296d4c1e
ASoC: Clean up WM8974 PLL configuration

Don't use a static for WM8974 PLL factors - we don't support more than
one device so it won't happen but no sense in leaving the race condition
hanging around.  Also, pre_div is a single bit and it's a bit simpler if
we move the handling of the factor of 4 in the output into the
coefficient setup.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8974.c