Re: [PATCH 1/3] mfd: qcom-pm8xxx: switch away from using chained IRQ handlers

2021-10-01 Thread Dmitry Baryshkov
On 02/10/2021 04:08, Dmitry Baryshkov wrote: PM8xxx PMIC family uses GPIO as parent IRQ. Using it together with the irq_set_chained_handler_and_data() results in warnings from the GPIOLIB as in this path the IRQ resources are not allocated (and thus the corresponding GPIO is not marked as used fo

[PATCH 1/3] mfd: qcom-pm8xxx: switch away from using chained IRQ handlers

2021-10-01 Thread Dmitry Baryshkov
PM8xxx PMIC family uses GPIO as parent IRQ. Using it together with the irq_set_chained_handler_and_data() results in warnings from the GPIOLIB as in this path the IRQ resources are not allocated (and thus the corresponding GPIO is not marked as used for the IRQ. Use request_irq so that the IRQ reso