Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751712AbdFIHlQ (ORCPT ); Fri, 9 Jun 2017 03:41:16 -0400 Received: from mail-oi0-f45.google.com ([209.85.218.45]:34177 "EHLO mail-oi0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751581AbdFIHlN (ORCPT ); Fri, 9 Jun 2017 03:41:13 -0400 MIME-Version: 1.0 In-Reply-To: References: <20170601121826.14685-1-richard.genoud@gmail.com> <20170601121826.14685-2-richard.genoud@gmail.com> From: Richard Genoud Date: Fri, 9 Jun 2017 09:40:52 +0200 Message-ID: Subject: Re: [PATCHv2 1/2] gpio: mvebu: fix blink counter register selection To: Linus Walleij Cc: 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 , Ralph Sennhauser , Rob Herring , Russell King , Sebastian Hesselbarth , Thierry Reding 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: 941 Lines: 28 2017-06-09 9:37 GMT+02:00 Linus Walleij : > 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 :( > > I might screw up the merges so help me check the end result > later. Ok, no problem ! > > Yours, > Linus Walleij Thanks ! Richard.