Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932658AbbELLua (ORCPT ); Tue, 12 May 2015 07:50:30 -0400 Received: from mail-oi0-f47.google.com ([209.85.218.47]:34577 "EHLO mail-oi0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932339AbbELLu1 (ORCPT ); Tue, 12 May 2015 07:50:27 -0400 MIME-Version: 1.0 In-Reply-To: <20150511124649.1221e86e@hyperion> References: <20150511124649.1221e86e@hyperion> Date: Tue, 12 May 2015 13:50:26 +0200 Message-ID: Subject: Re: [PATCH] gpio: gpio-kempld: Fix get_direction return value From: Linus Walleij To: Michael Brunner Cc: "linux-kernel@vger.kernel.org" , Alexandre Courbot , "linux-gpio@vger.kernel.org" , Jochen Henneberg , Michael Brunner , Darren Hart , Kevin Strasser , Guenter Roeck Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 868 Lines: 24 On Mon, May 11, 2015 at 12:46 PM, Michael Brunner wrote: > This patch fixes an inverted return value of the gpio get_direction > function. > > The wrong value causes the direction sysfs entry and GPIO debugfs file > to indicate incorrect GPIO direction settings. In some cases it also > prevents setting GPIO output values. > > The problem is also present in all other stable kernel versions since > linux-3.12. > > Reported-by: Jochen Henneberg > Signed-off-by: Michael Brunner Patch applied and tagged for stable v3.12+ Yours, 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/