Message ID | 1385473828-31078-3-git-send-email-k.kozlowski@samsung.com |
---|---|
State | Superseded |
Headers | show
Return-Path: <rtc-linux+bncBCH7NA7HVUOBBMWO2KKAKGQEV64T4YY@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-vb0-x240.google.com (mail-vb0-x240.google.com [IPv6:2607:f8b0:400c:c02::240]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 4F8762C00A3 for <incoming@patchwork.ozlabs.org>; Wed, 27 Nov 2013 00:50:45 +1100 (EST) Received: by mail-vb0-f64.google.com with SMTP id w20sf1604178vbb.19 for <incoming@patchwork.ozlabs.org>; Tue, 26 Nov 2013 05:50:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=mime-version:from:to:cc:subject:date:message-id:in-reply-to :references:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:sender:list-subscribe:list-unsubscribe:content-type; bh=eEpuRBDAvDxHanNyLRPdfVtXLXWTdIIkYIdLuzmpkA8=; b=lfoOHADerzFsdcsviwesBAhKrquc3cU4/W4tS26w/KOlPhC/eUIlNKUrzUpCL8mDLY R7FMQYc77R5Hm0+Oy1iMJKWJRKZO/3/XkxfNydMU/Z0Glh5UcoI7XcnGxa2u1MdztiL0 9tvjKbGEcsLmvUfeVRr9PgoToc4+zCSCYh8W+5HpeeYC5/avG97P/pHY2zqlkJsQcTVe d4uoXy9k8FqCT6UEEtaZBaiqpFFA4KklwhNeSySzfAKNmJCRyu8pwMvUTm1sDTwVS/uY e9N70cGRrBNdJ1TabXTYUtJo0mCyda5In4LDlS5mO61Antsi9B5uVDt+k6BbomqSfbv8 wNBw== X-Received: by 10.50.66.101 with SMTP id e5mr426053igt.12.1385473842251; Tue, 26 Nov 2013 05:50:42 -0800 (PST) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.50.43.232 with SMTP id z8ls2184818igl.32.canary; Tue, 26 Nov 2013 05:50:41 -0800 (PST) X-Received: by 10.43.142.196 with SMTP id jj4mr10090492icc.11.1385473841896; Tue, 26 Nov 2013 05:50:41 -0800 (PST) Received: from mailout1.w1.samsung.com (mailout1.w1.samsung.com. [210.118.77.11]) by gmr-mx.google.com with ESMTPS id xi1si885005pab.1.2013.11.26.05.50.41 for <rtc-linux@googlegroups.com> (version=TLSv1 cipher=RC4-MD5 bits=128/128); Tue, 26 Nov 2013 05:50:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of k.kozlowski@samsung.com designates 210.118.77.11 as permitted sender) client-ip=210.118.77.11; Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MWV00INRIGFHZ10@mailout1.w1.samsung.com> for rtc-linux@googlegroups.com; Tue, 26 Nov 2013 13:50:39 +0000 (GMT) X-AuditID: cbfec7f5-b7f706d0000017c2-97-5294a72f4b58 Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id D9.5E.06082.F27A4925; Tue, 26 Nov 2013 13:50:39 +0000 (GMT) Received: from AMDC1943.digital.local ([106.116.151.171]) by eusync2.samsung.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0MWV00L4GIGAFY60@eusync2.samsung.com>; Tue, 26 Nov 2013 13:50:39 +0000 (GMT) From: Krzysztof Kozlowski <k.kozlowski@samsung.com> To: Sangbeom Kim <sbkim73@samsung.com>, Samuel Ortiz <sameo@linux.intel.com>, Lee Jones <lee.jones@linaro.org>, Alessandro Zummo <a.zummo@towertech.it>, linux-kernel@vger.kernel.org, rtc-linux@googlegroups.com Cc: Marek Szyprowski <m.szyprowski@samsung.com>, Geert Uytterhoeven <geert@linux-m68k.org>, Kyungmin Park <kyungmin.park@samsung.com>, Krzysztof Kozlowski <k.kozlowski@samsung.com> Subject: [rtc-linux] [PATCH 2/5] rtc: s5m: Fix unsuccesful IRQ request during probe Date: Tue, 26 Nov 2013 14:50:25 +0100 Message-id: <1385473828-31078-3-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-reply-to: <1385473828-31078-1-git-send-email-k.kozlowski@samsung.com> References: <1385473828-31078-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupmluLIzCtJLcpLzFFi42I5/e/4FV395VOCDI4dVrRYcvEqu8WzW3uZ LF6/MLQ42/SG3eL+16OMFpd3zWGzWHvkLrvF/s4ORovT3awWF1d8YXLg8tgz8SSbx51re9g8 Dh3uYPSYdzLQo2/LKkaP6fN+Mnl83iQXwB7FZZOSmpNZllqkb5fAlXHy2zW2gpUcFVfbv7M2 ML5n62Lk5JAQMJG4MfEfE4QtJnHh3nqgOBeHkMBSRonN5zcyQTh9TBL/Jr4Fq2ITMJbYvHwJ WJWIwFVGiYlLFrODOMwCuxgl3v7cxdjFyMEhLOAu8bKpHKSBRUBVYs+bfywgYV6g8OaDISCm hICCxJxJNiAVnAIeEjN7lrGA2EJAFecO7mKawMi7gJFhFaNoamlyQXFSeq6RXnFibnFpXrpe cn7uJkZIAH7dwbj0mNUhRgEORiUeXonOyUFCrIllxZW5hxglOJiVRHhjp08JEuJNSaysSi3K jy8qzUktPsTIxMEp1cBYwFBz/kpSx7HFxbzJUxpn1C7KW9gSprbh5TKr38t4JxnvKROt+bx9 7Zas05/+lCqtNFH9tGvWr2v3jSbHzLWf8Eb86NmaqkNG3Y91f7d+TLe4Mf/69bcHeWYmpK/Z Z5GxrOJYJlfBgsPmvasy9H7tu5JjeKDCpjR/gcdb61iRjRtPR8mvfsw8RYmlOCPRUIu5qDgR AFxiXtQeAgAA X-Original-Sender: k.kozlowski@samsung.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: best guess record for domain of k.kozlowski@samsung.com designates 210.118.77.11 as permitted sender) smtp.mail=k.kozlowski@samsung.com Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: <rtc-linux.googlegroups.com> X-Google-Group-Id: 712029733259 List-Post: <http://groups.google.com/group/rtc-linux/post>, <mailto:rtc-linux@googlegroups.com> List-Help: <http://groups.google.com/support/>, <mailto:rtc-linux+help@googlegroups.com> List-Archive: <http://groups.google.com/group/rtc-linux> Sender: rtc-linux@googlegroups.com List-Subscribe: <http://groups.google.com/group/rtc-linux/subscribe>, <mailto:rtc-linux+subscribe@googlegroups.com> List-Unsubscribe: <http://groups.google.com/group/rtc-linux/subscribe>, <mailto:googlegroups-manage+712029733259+unsubscribe@googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1 |
diff --git a/drivers/rtc/rtc-s5m.c b/drivers/rtc/rtc-s5m.c index 088cf3a..66686d9 100644 --- a/drivers/rtc/rtc-s5m.c +++ b/drivers/rtc/rtc-s5m.c @@ -548,11 +548,13 @@ static int s5m_rtc_probe(struct platform_device *pdev) switch (pdata->device_type) { case S5M8763X: - info->irq = s5m87xx->irq_base + S5M8763_IRQ_ALARM0; + info->irq = regmap_irq_get_virq(s5m87xx->irq_data, + S5M8763_IRQ_ALARM0); break; case S5M8767X: - info->irq = s5m87xx->irq_base + S5M8767_IRQ_RTCA1; + info->irq = regmap_irq_get_virq(s5m87xx->irq_data, + S5M8767_IRQ_RTCA1); break; default: