Re: [PATCH] gpio: zynq: Wakeup gpio controller when it is used as IRQ controller

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux