From patchwork Mon Dec 17 09:27:17 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Fenkart X-Patchwork-Id: 1886421 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 736CCDF266 for ; Mon, 17 Dec 2012 09:40:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751132Ab2LQJkF (ORCPT ); Mon, 17 Dec 2012 04:40:05 -0500 Received: from mout.gmx.net ([212.227.17.20]:59564 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750797Ab2LQJkE (ORCPT ); Mon, 17 Dec 2012 04:40:04 -0500 X-Greylist: delayed 453 seconds by postgrey-1.27 at vger.kernel.org; Mon, 17 Dec 2012 04:40:04 EST Received: from mailout-de.gmx.net ([10.1.76.12]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0MOEAc-1TnqMV0Azc-005VWx for ; Mon, 17 Dec 2012 10:27:27 +0100 Received: (qmail invoked by alias); 17 Dec 2012 09:27:27 -0000 Received: from ip-89-176-142-144.net.upcbroadband.cz (EHLO localhost) [89.176.142.144] by mail.gmx.net (mp012) with SMTP; 17 Dec 2012 10:27:27 +0100 X-Authenticated: #20192376 X-Provags-ID: V01U2FsdGVkX1/YkOwTqq7YSLsJ/f5dU8CZh6CtvxGDnXFzQUXgR2 F9caJylMlbf6a7 From: Andreas Fenkart To: santosh.shilimkar@ti.com, khilman@ti.com, grant.likely@secretlab.ca, linus.walleij@linaro.org, linux-omap@vger.kernel.org Cc: Andreas Fenkart Subject: [PATCH] gpio/omap: implement irq_enable/disable using mask/unmask. Date: Mon, 17 Dec 2012 10:27:17 +0100 Message-Id: <1355736437-14186-1-git-send-email-andreas.fenkart@streamunlimited.com> X-Mailer: git-send-email 1.7.10.4 X-Y-GMX-Trusted: 0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Signed-off-by: Andreas Fenkart --- drivers/gpio/gpio-omap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpio/gpio-omap.c b/drivers/gpio/gpio-omap.c index d335af1..c1951ec 100644 --- a/drivers/gpio/gpio-omap.c +++ b/drivers/gpio/gpio-omap.c @@ -815,6 +815,8 @@ static struct irq_chip gpio_irq_chip = { .irq_unmask = gpio_unmask_irq, .irq_set_type = gpio_irq_type, .irq_set_wake = gpio_wake_enable, + .irq_disable = gpio_mask_irq, + .irq_enable = gpio_unmask_irq, }; /*---------------------------------------------------------------------*/