Re: [PATCH v7 3/9] gpio: regmap: Apply default resource callbacks for regmap IRQ chip

"Mathieu Dubois-Briand" <[email protected]>
Newsgroups org.kernel.vger.linux-gpio,org.kernel.vger.linux-iio,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On Thu Jul 23, 2026 at 5:42 AM CEST, Yu-Chun Lin wrote:
> From: Andy Shevchenko <[email protected]>
>
> When GPIO regmap creates an IRQ chip on behalf of the user, it also
> takes an ownership of the respective callbacks and driver data.
> With that being done, apply default resource callbacks that keep
> tracking the IRQ requests and releases.
>
> Reviewed-by: Michael Walle <[email protected]>
> Signed-off-by: Andy Shevchenko <[email protected]>
> Signed-off-by: Yu-Chun Lin <[email protected]>
> ---

Reviewed-by: Mathieu Dubois-Briand <[email protected]>

I also tested this specifically on MAX7360, everything is still behaving
as expected.

Thanks,
Mathieu

-- 
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.