From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell King - ARM Linux Subject: Re: [PATCH v3 2/3] mfd: lubbock_io: add lubbock_io board Date: Wed, 21 Jan 2015 09:47:11 +0000 Message-ID: <20150121094711.GP26493@n2100.arm.linux.org.uk> References: <1421406010-14851-1-git-send-email-robert.jarzmik@free.fr> <1421406010-14851-2-git-send-email-robert.jarzmik@free.fr> <20150119091705.GG21886@x1> <87ppaah9k5.fsf@free.fr> <20150120102919.GP5767@x1> <20150120115658.GJ26493@n2100.arm.linux.org.uk> <873874fuei.fsf@free.fr> <20150121081645.GC9258@x1> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20150121081645.GC9258@x1> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Lee Jones Cc: Robert Jarzmik , Mark Rutland , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Samuel Ortiz , Pawel Moll , Ian Campbell , Dmitry Eremin-Solenikov , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Haojian Zhuang , Rob Herring , Arnd Bergmann , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Kumar Gala , Daniel Mack List-Id: devicetree@vger.kernel.org On Wed, Jan 21, 2015 at 08:16:45AM +0000, Lee Jones wrote: > On Wed, 21 Jan 2015, Robert Jarzmik wrote: > > > > > platform_get_irq()? > > > > No. I need the flags. > > > Where are they used? > > A couple of lines below, using local "irqflags" variable : > > ret = devm_request_irq(&pdev->dev, cot->irq, lubbock_irq_handler, > > irqflags, dev_name(&pdev->dev), cot); > > No, I mean where are they _used_? They're used in request_irq, and request_irq uses it to set the interrupt type (edge or level) as specified in the IRQ resource. -- FTTC broadband for 0.8mile line: currently at 10.5Mbps down 400kbps up according to speedtest.net. -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html