Messages in this thread | | | Date | Mon, 15 Aug 2011 17:12:53 +0200 | From | Johan Hovold <> | Subject | Re: [PATCH 2/3] regulator: tps65910: fix list_voltage for VDD1 and VDD2 |
| |
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.
Thanks, Johan
| |