diff options
author | Mattias Wallin <mattias.wallin@stericsson.com> | 2010-11-02 14:55:34 +0100 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-11-30 15:13:25 +0000 |
commit | b12a1e29af595d05612153bcb85258193bbf9382 (patch) | |
tree | 700e2fdd4f0468498b90cf5fabc2b530c5417e0f /drivers/regulator/mc13783-regulator.c | |
parent | e8a7e48bb248a1196484d3f8afa53bded2b24e71 (diff) |
regulator: regulator disable supply fix
This patch fixes a disable failure when regulator supply is used.
A while loop in regulator disable checks for supply pointer != NULL
but the pointer is not always updated, resulting in the while loop
running too many times causing a disable failure.
Signed-off-by: Mattias Wallin <mattias.wallin@stericsson.com>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'drivers/regulator/mc13783-regulator.c')
0 files changed, 0 insertions, 0 deletions