Re: [PATCH] gpio: omap: get rid of the conditional PM runtime calls

2018-10-01 Thread Linus Walleij
On Fri, Sep 28, 2018 at 11:39 PM Grygorii Strashko wrote: > OMAP GPIO driver is checking !BANK_USED() used condition before calling PM > runtime API, because of PM runtime calls in > omap2_gpio_prepare/resume_for_idle(). It's not required any more since > "omap gpio add level idle, cpu_pm and dro

Re: [PATCH] gpio: omap: get rid of the conditional PM runtime calls

2018-09-28 Thread Tony Lindgren
* Grygorii Strashko [180928 21:44]: > As result safely drop !BANK_USED() checks from omap_gpio_request/free(), > omap_gpio_irq_bus_lock/unlock() and enable PM runtime management for OMAP > GPIO IRQ chip. Nice to get rid of the conditional PM runtime calls :) Tony

[PATCH] gpio: omap: get rid of the conditional PM runtime calls

2018-09-28 Thread Grygorii Strashko
OMAP GPIO driver is checking !BANK_USED() used condition before calling PM runtime API, because of PM runtime calls in omap2_gpio_prepare/resume_for_idle(). It's not required any more since "omap gpio add level idle, cpu_pm and drop runtime_irq_safe" series [1] from Tony Lindgren was accepted and P