ASoC: Remove redundant freq assignment for max98095->sysclk/max98088->sysclk
authorAxel Lin <axel.lin@gmail.com>
Fri, 27 May 2011 15:30:53 +0000 (23:30 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 28 May 2011 17:57:21 +0000 (01:57 +0800)
commit74ab24af4fe165de5af01d0507250dd099f096b0
treed226912df3d2a532734396ed3ab169d25fbee922
parenta5fe6be42e5cadac4c2aef2b3714cfa8fadb6092
ASoC: Remove redundant freq assignment for max98095->sysclk/max98088->sysclk

Current implementation set max98095->sysclk/max98088->sysclk to freq twice.
Set it once is enough, this patch removes the first assignment in case
we may set invalid clock frequency to max98095->sysclk/max98088->sysclk.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Peter Hsiang <peter.hsiang@maxim-ic.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/max98088.c
sound/soc/codecs/max98095.c