Re: [PATCH 2/3] regulator: tps65910: fix list_voltage for VDD1 andVDD2
From: Johan Hovold
Date: Mon Aug 15 2011 - 11:12:59 EST
On Mon, Aug 15, 2011 at 11:49:13PM +0900, Mark Brown wrote:
> On Mon, Aug 15, 2011 at 04:29:48PM +0200, Johan Hovold wrote:
> > On Mon, Aug 15, 2011 at 10:09:13PM +0900, Mark Brown wrote:
> > > Why is this a separate patch to the previous one?
> > Because it fixes a different bug (although introduced by the same commit
> > and the same kind of programming error).
> You've got a bunch of missing break statements introduced by the same
> commit in the same driver causing the same runtime issue...
Well, the first bug prevents any device from being used at all (as probe
always fails). The second bug makes list_voltage return the wrong value
for two regulators.
I simply prefer fixing them separately as it will be more clear from the
changelog what behaviours are being fixed -- especially as they are
marked for stable.
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/