Re: [PATCH] regulator: tps51632: Ensure [base|max]_voltage_uV pdatasettings are valid

From: Laxman Dewangan
Date: Fri Nov 30 2012 - 15:01:00 EST


On Friday 30 November 2012 02:22 PM, Axel Lin wrote:
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.


Looks good.

Acked-by: Laxman Dewangan <ldewangan@xxxxxxxxxx>


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/