ASoC: Fix sample rate lookup in WM8993
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 15 Jul 2009 09:01:30 +0000 (10:01 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 15 Jul 2009 09:01:30 +0000 (10:01 +0100)
commite465d544fab81aa122f86a50418f4be7f1fcf066
tree682a1ebba53d1954ddf49d8ffe3e1f4f19fc8240
parent82d76f4d9fbf7d951d63e7056fd9911ada507bd1
ASoC: Fix sample rate lookup in WM8993

We need to use the best value we picked, not the last value we
looked at.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8993.c