Hello, On Mon, 11 Feb 2019 10:37:08 +0530 <shubhrajyoti.datta@xxxxxxxxx> wrote: > From: Borsodi Petr <Petr.Borsodi@xxxx> > > There is a problem with GPIO driver when used as IRQ controller. > It is not working because the module is sleeping (clock is disabled). > The patch enables clocks when IP is used as IRQ controller. > > Signed-off-by: Borsodi Petr <Petr.Borsodi@xxxx> > Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xxxxxxxxxx> I sent another similar patch a few days ago: https://www.spinics.net/lists/linux-gpio/msg36472.html Except that I re-use the existing gpiochip_reqres_irq() and gpiochip_relres_irq() functions instead of duplicating them. Best regards, Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com