commit | f3df0b7533ccad7bb3ef25383fea9c990b0033a2 | [log] [tgz] |
---|---|---|
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | Sun Mar 01 20:11:58 2009 +0100 |
committer | Samuel Ortiz <samuel@sortiz.org> | Sun Apr 05 00:32:24 2009 +0200 |
tree | fcf1bd6c65836b115dde16ac2afd53d763fc03f4 | |
parent | 3446d4bb93b4d8c7c5b667dd0271669f012fb166 [diff] |
mfd: Use the value of the final spin when reading the AUXADC Reverse the order of the tests for loop exit so we use a valid value before we time out. Vanishingly unlikely to happen since we retry for several times the expected conversion time. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Samuel Ortiz <sameo@openedhand.com>