From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754852Ab3HHEgD (ORCPT ); Thu, 8 Aug 2013 00:36:03 -0400 Received: from 8.mo4.mail-out.ovh.net ([188.165.33.112]:44672 "EHLO mo4.mail-out.ovh.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750832Ab3HHEgB (ORCPT ); Thu, 8 Aug 2013 00:36:01 -0400 Message-ID: <52031A4E.8010605@overkiz.com> Date: Thu, 08 Aug 2013 06:10:54 +0200 From: boris brezillon User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130623 Thunderbird/17.0.7 MIME-Version: 1.0 To: Linus Walleij CC: Jean-Christophe Plagniol-Villard , Nicolas Ferre , Ludovic Desroches , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" X-Ovh-Mailout: 178.32.228.4 (mo4.mail-out.ovh.net) Subject: Re: [PATCH] pinctrl: at91: choose appropriate handler for level interrupts References: <1374331893-16009-1-git-send-email-b.brezillon@overkiz.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Ovh-Tracer-Id: 1955969613871806685 X-Ovh-Remote: 78.236.240.82 (cha74-5-78-236-240-82.fbx.proxad.net) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-OVH-SPAMSTATE: OK X-OVH-SPAMSCORE: -100 X-OVH-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeeikedrtdehucetufdoteggodetrfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd X-Spam-Check: DONE|U 0.5/N X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeeikedrtdehucetufdoteggodetrfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/08/2013 20:59, Linus Walleij wrote: > On Sat, Jul 20, 2013 at 4:51 PM, Boris BREZILLON > wrote: > >> The current implementation handle both edge and level interrupts with the >> 'handle_simple_irq' handler. >> >> Level interrupts are active as long as the pin stays at the configured >> level (low or high). In this case we have to use 'handle_level_irq' which >> mask the interrupt until the handle has treated it. >> >> Signed-off-by: Boris BREZILLON > Patch applied with Alexandre's Tested-by tag. Thanks > > Worst thing that can happen is that I have to revert it. > Now it will atleast get some testing in linux-next. > > Yours, > Linus Walleij