Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762520Ab3DCM2b (ORCPT ); Wed, 3 Apr 2013 08:28:31 -0400 Received: from mail-ie0-f177.google.com ([209.85.223.177]:64396 "EHLO mail-ie0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759139Ab3DCM20 (ORCPT ); Wed, 3 Apr 2013 08:28:26 -0400 MIME-Version: 1.0 In-Reply-To: <1364471748-23192-3-git-send-email-richard.genoud@gmail.com> References: <1364471748-23192-1-git-send-email-richard.genoud@gmail.com> <1364471748-23192-3-git-send-email-richard.genoud@gmail.com> Date: Wed, 3 Apr 2013 14:28:25 +0200 Message-ID: Subject: Re: [PATCH 3/3] pinctrl: pinctrl_select_state: set the old_state back on error From: Linus Walleij To: Richard Genoud Cc: Stephen Warren , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 720 Lines: 22 On Thu, Mar 28, 2013 at 12:55 PM, Richard Genoud wrote: > In unapply_new_state, the old state is re-applied, but p->state is not > set back as it should. > > Signed-off-by: Richard Genoud > --- > This one can be squshed with commit: > 50cf7c8ab324de348990bb028ad9ed10872d527a > pinctrl: re-enable old state in case of error in pinctrl_select_state > If needed. Applied with Stepgen's Review-tag. Thanks, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/