From: Mattias Wallin Date: Tue, 2 Nov 2010 13:55:34 +0000 (+0100) Subject: regulator: regulator disable supply fix X-Git-Tag: v2.6.37-rc5~35^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b12a1e29af595d05612153bcb85258193bbf9382;p=pandora-kernel.git 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 Acked-by: Linus Walleij Acked-by: Mark Brown Signed-off-by: Liam Girdwood --- Reading git-diff-tree failed