From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lars-Peter Clausen Subject: Re: [PATCH v2 2/2] gpio: zynq: Take bank offset into account when reporting a IRQ Date: Thu, 21 Aug 2014 15:30:09 +0200 Message-ID: <53F5F461.8060104@metafoo.de> References: <1408355696-9998-1-git-send-email-lars@metafoo.de> <1408355696-9998-2-git-send-email-lars@metafoo.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from smtp-out-209.synserver.de ([212.40.185.209]:1108 "EHLO smtp-out-209.synserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754779AbaHUNbl (ORCPT ); Thu, 21 Aug 2014 09:31:41 -0400 In-Reply-To: Sender: linux-gpio-owner@vger.kernel.org List-Id: linux-gpio@vger.kernel.org To: Linus Walleij Cc: Alexandre Courbot , Michal Simek , Harini Katakam , =?UTF-8?B?U8O2cmVuIEJyaW5rbWE=?= =?UTF-8?B?bm4=?= , "linux-gpio@vger.kernel.org" On 08/21/2014 02:40 PM, Linus Walleij wrote: > On Mon, Aug 18, 2014 at 4:54 AM, Lars-Peter Clausen wrote: > >> When looking up the IRQ the bank offset needs to be taken into account. >> Otherwise interrupts for banks other than bank 0 get incorrectly reported as >> interrupts for bank 0. >> >> Signed-off-by: Lars-Peter Clausen >> --- >> Changes since v1: >> * Use lookup table instead of switch-case. > > I tried to apply this, but it doesn't apply on top of the other patch > "gpio: zynq: Fix IRQ handlers" that I have queued for fixes. Works fine for me. Did you try to apply both patch 1 and 2 of this series or just patch 2? Thanks, - Lars