From: Axel Lin Date: Fri, 30 Nov 2012 08:52:49 +0000 (+0800) Subject: regulator: tps51632: Ensure [base|max]_voltage_uV pdata settings are valid X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~35^2~8^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbc705183a41f8ae209673fbc555d9923b0ebb7f;p=pandora-kernel.git regulator: tps51632: Ensure [base|max]_voltage_uV pdata settings are valid If pdata->base_voltage_uV is missing or the settings of pdata->base_voltage_uV and pdata->max_voltage_uV are out of range, TPS51632_VOLT_VSEL macro returns wrong vsel. Thus add checking [base|max]_voltage_uV pdata settings in probe. Signed-off-by: Axel Lin Acked-by: Laxman Dewangan Signed-off-by: Mark Brown --- Reading git-diff-tree failed