Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751752AbdFIIDb (ORCPT ); Fri, 9 Jun 2017 04:03:31 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:35035 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751540AbdFIID0 (ORCPT ); Fri, 9 Jun 2017 04:03:26 -0400 Date: Fri, 9 Jun 2017 10:03:22 +0200 From: Ralph Sennhauser To: Linus Walleij Cc: Richard Genoud , Alexandre Courbot , Andrew Lunn , Gregory Clement , Jason Cooper , "linux-arm-kernel@lists.infradead.org" , "linux-gpio@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-pwm@vger.kernel.org" , Mark Rutland , Rob Herring , Russell King , Sebastian Hesselbarth , Thierry Reding Subject: Re: [PATCHv2 1/2] gpio: mvebu: fix blink counter register selection Message-ID: <20170609100322.765adf7f@gmail.com> In-Reply-To: References: <20170601121826.14685-1-richard.genoud@gmail.com> <20170601121826.14685-2-richard.genoud@gmail.com> Organization: none X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1088 Lines: 30 On Fri, 9 Jun 2017 09:37:55 +0200 Linus Walleij wrote: > On Thu, Jun 1, 2017 at 2:18 PM, Richard Genoud > wrote: > > > The blink counter A was always selected because 0 was forced in the > > blink select counter register. > > The variable 'set' was obviously there to be used as the register > > value, selecting the B counter when id==1 and A counter when id==0. > > > > Tested on clearfog-pro (Marvell 88F6828) > > > > Fixes: 757642f9a584 ("gpio: mvebu: Add limited PWM support") > > Reviewed-by: Gregory CLEMENT > > Reviewed-by: Ralph Sennhauser > > Signed-off-by: Richard Genoud > > Patch applied for fixes. > > It appears this will clash with patches on the development branch :( Hi Linus, The commit 2233bf7a92e7 ("gpio: mvebu: switch to regmap for register access") which you likely mean breaks gpio-keys, reported about an hour ago, so you might just want to drop that one for now instead as it needs mor work anyway. Ralph