From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754526Ab1HOPM6 (ORCPT ); Mon, 15 Aug 2011 11:12:58 -0400 Received: from mail-bw0-f46.google.com ([209.85.214.46]:63323 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754236Ab1HOPM5 (ORCPT ); Mon, 15 Aug 2011 11:12:57 -0400 Date: Mon, 15 Aug 2011 17:12:53 +0200 From: Johan Hovold To: Mark Brown Cc: Liam Girdwood , Liam Girdwood , Jorge Eduardo Candelaria , Samuel Ortiz , linux-kernel@vger.kernel.org, stable@kernel.org Subject: Re: [PATCH 2/3] regulator: tps65910: fix list_voltage for VDD1 and VDD2 Message-ID: <20110815151253.GC4189@localhost> References: <1313405127-2724-1-git-send-email-jhovold@gmail.com> <1313405127-2724-2-git-send-email-jhovold@gmail.com> <20110815130910.GD3927@opensource.wolfsonmicro.com> <20110815142948.GB4189@localhost> <20110815144910.GA29685@opensource.wolfsonmicro.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110815144910.GA29685@opensource.wolfsonmicro.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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