Re: [PATCH 2/2] regulator:TPS65910: VDD1/2 voltage selector count

From: Mark Brown
Date: Fri Nov 04 2011 - 10:04:25 EST


On Fri, Nov 04, 2011 at 06:18:48PM +0530, Afzal Mohammed wrote:

> if (i == TPS65910_REG_VDD1 || i == TPS65910_REG_VDD2) {
> pmic->desc[i].ops = &tps65910_ops_dcdc;
> + pmic->desc[i].n_voltages = VDD1_2_NUM_VOLTS * 3;

This looks suspicous - what's the * 3 about?
--
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/