From: Axel Lin Date: Tue, 11 Dec 2012 12:36:37 +0000 (+0800) Subject: regulator: core: Fix logic to determinate if regulator can change voltage X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~35^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a23b4e03d6873ec50f7d212de78ff01e393fc1a;p=pandora-kernel.git regulator: core: Fix logic to determinate if regulator can change voltage Having a linear_min_sel setting means the first linear_min_sel selectors are invalid. We need to subtract linear_min_sel when use n_voltages to determinate if regulator can change voltage. Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- Reading git-diff-tree failed