From patchwork Fri Jan 18 05:26:32 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ashish Jangam X-Patchwork-Id: 213451 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-qc0-f188.google.com (mail-qc0-f188.google.com [209.85.216.188]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 3EC522C0086 for ; Fri, 18 Jan 2013 16:28:23 +1100 (EST) Received: by mail-qc0-f188.google.com with SMTP id k26sf1782520qcs.5 for ; Thu, 17 Jan 2013 21:28:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=x-received:x-beenthere:x-received:x-received:received-spf :x-forefront-antispam-report:x-spamscore:x-bigfish:subject:from:to :cc:date:message-id:mime-version:x-mailer:x-originating-ip :x-originatororg:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:x-google-group-id :list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type; bh=vgScpDylYflG4C44NNFrILzmjIWhBS+0sTk2Y27xboM=; b=ZqMrkdf7dMXx/Y9jsVSPSoVsTt7uRI1M4P6GJJscF/zE/JVVvqUnf/IUFhhWPoLN4S 97faoyKBBRyWh561LrDjm30ner0XH1nKKuesschGje6Wu6oMo6OIv//iDArFyynuBDcf ERW1ltvKf4wiaOsIg3uiBC0N+IQPrb33AyJu6gj1rwTq/hdcAO/uIZzSW3eyYKKuJ94a mHd3re4B5o6e/3uC7KUPv1D0sch14/y27zL6ArZzsmSJkh6p2DYvYbmeFtkfrvaGH2uk 5CXCJ14beBFbthkGVubPkYStpSrqwDfKkVgdu3bQwxpi9krHJegfoR8MwyjRnEC0GbdI zEKg== X-Received: by 10.50.34.231 with SMTP id c7mr348087igj.8.1358486901041; Thu, 17 Jan 2013 21:28:21 -0800 (PST) X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.33.136 with SMTP id r8ls277293igi.10.gmail; Thu, 17 Jan 2013 21:28:20 -0800 (PST) X-Received: by 10.66.84.100 with SMTP id x4mr1390023pay.43.1358486900437; Thu, 17 Jan 2013 21:28:20 -0800 (PST) X-Received: by 10.66.84.100 with SMTP id x4mr1390022pay.43.1358486900421; Thu, 17 Jan 2013 21:28:20 -0800 (PST) Received: from ch1outboundpool.messaging.microsoft.com (ch1ehsobe004.messaging.microsoft.com. [216.32.181.184]) by gmr-mx.google.com with ESMTPS id q1si776457paz.0.2013.01.17.21.28.20 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 17 Jan 2013 21:28:20 -0800 (PST) Received-SPF: neutral (google.com: 216.32.181.184 is neither permitted nor denied by best guess record for domain of Ashish.Jangam@kpitcummins.com) client-ip=216.32.181.184; Received: from mail188-ch1-R.bigfish.com (10.43.68.225) by CH1EHSOBE018.bigfish.com (10.43.70.68) with Microsoft SMTP Server id 14.1.225.23; Fri, 18 Jan 2013 05:28:19 +0000 Received: from mail188-ch1 (localhost [127.0.0.1]) by mail188-ch1-R.bigfish.com (Postfix) with ESMTP id 666121202A7; Fri, 18 Jan 2013 05:28:19 +0000 (UTC) X-Forefront-Antispam-Report: CIP:59.163.77.45; KIP:(null); UIP:(null); IPV:NLI; H:KCHJEXHC01.kpit.com; RD:59.163.77.45.static.vsnl.net.in; EFVD:NLI X-SpamScore: 1 X-BigFish: VPS1(zzzz1ee6h1de0h1202h1e76h1d1ah1d2ahzz8275bhz2dh2a8h668h839h93fhd24hd2bhf0ah1288h12a5h12a9h12bdh137ah139eh13b6h1441h1504h1537h162dh1631h1758h1898hbe9i1155h) Received: from mail188-ch1 (localhost.localdomain [127.0.0.1]) by mail188-ch1 (MessageSwitch) id 1358486896705541_1128; Fri, 18 Jan 2013 05:28:16 +0000 (UTC) Received: from CH1EHSMHS002.bigfish.com (snatpool1.int.messaging.microsoft.com [10.43.68.242]) by mail188-ch1.bigfish.com (Postfix) with ESMTP id 9FE4232005E; Fri, 18 Jan 2013 05:28:16 +0000 (UTC) Received: from KCHJEXHC01.kpit.com (59.163.77.45) by CH1EHSMHS002.bigfish.com (10.43.70.2) with Microsoft SMTP Server (TLS) id 14.1.225.23; Fri, 18 Jan 2013 05:28:15 +0000 Received: from [10.10.38.47] (10.10.38.47) by Outgoing.kpitcummins.com (172.10.15.73) with Microsoft SMTP Server id 14.2.247.3; Fri, 18 Jan 2013 10:58:12 +0530 Subject: [rtc-linux] [patch v1 4/5] rtc: da9055 change irq state to default From: Ashish Jangam To: Andrew Morton , Alessandro Zummo CC: Samuel Ortiz , , Date: Fri, 18 Jan 2013 10:56:32 +0530 Message-ID: <1358486792.14373.14.camel@dhruva> MIME-Version: 1.0 X-Mailer: Evolution 2.28.3 X-Originating-IP: [10.10.38.47] X-OriginatorOrg: kpitcummins.com X-Original-Sender: ashish.jangam@kpitcummins.com X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 216.32.181.184 is neither permitted nor denied by best guess record for domain of Ashish.Jangam@kpitcummins.com) smtp.mail=Ashish.Jangam@kpitcummins.com Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: X-Google-Group-Id: 712029733259 List-Post: , List-Help: , List-Archive: Sender: rtc-linux@googlegroups.com List-Subscribe: , List-Unsubscribe: , This patch changes the irq state from high to the now default low state. This patch is dependent on the DA9055 MFD. This patch is tested on smdk6410 board. Signed-off-by: Ashish Jangam --- drivers/rtc/rtc-da9055.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/rtc/rtc-da9055.c b/drivers/rtc/rtc-da9055.c index 8f0dcfe..918b16b 100644 --- a/drivers/rtc/rtc-da9055.c +++ b/drivers/rtc/rtc-da9055.c @@ -305,7 +305,7 @@ static int da9055_rtc_probe(struct platform_device *pdev) alm_irq = regmap_irq_get_virq(rtc->da9055->irq_data, alm_irq); ret = devm_request_threaded_irq(&pdev->dev, alm_irq, NULL, da9055_rtc_alm_irq, - IRQF_TRIGGER_HIGH | IRQF_ONESHOT, + IRQF_TRIGGER_LOW | IRQF_ONESHOT, "ALM", rtc); if (ret != 0) dev_err(rtc->da9055->dev, "irq registration failed: %d\n", ret);