From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751824AbeCZJF2 (ORCPT ); Mon, 26 Mar 2018 05:05:28 -0400 Received: from mail-it0-f53.google.com ([209.85.214.53]:52007 "EHLO mail-it0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751091AbeCZJF0 (ORCPT ); Mon, 26 Mar 2018 05:05:26 -0400 X-Google-Smtp-Source: AIpwx48BLuo9UodtjM6UErlUaHsZRWGYCnfTwKpVGGz4h85cN2D7vamtfyRqhypfKmhtkR80p5G2z/mYLodBatgb2xA= MIME-Version: 1.0 In-Reply-To: <20180322123500.2379-1-alexandre.belloni@bootlin.com> References: <20180322123500.2379-1-alexandre.belloni@bootlin.com> From: Linus Walleij Date: Mon, 26 Mar 2018 11:05:25 +0200 Message-ID: Subject: Re: [PATCH] pinctrl: ocelot: fix gpio direction To: Alexandre Belloni Cc: Gregory Clement , "open list:GPIO SUBSYSTEM" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 22, 2018 at 1:35 PM, Alexandre Belloni wrote: > Bits have to be cleared in DEVCPU_GCB:GPIO:GPIO_OE for input and set for > output. ocelot_gpio_set_direction() got it wrong and this went unnoticed > when the driver was reworked. > > Reported-by: Gregory Clement > Signed-off-by: Alexandre Belloni Patch applied. Yours, Linus Walleij