Re: [PATCH v2] i2c: cadence: Add an error handling for platform_get_irq()

From: Dejin Zheng
Date: Sat May 23 2020 - 09:38:21 EST


On Fri, May 22, 2020 at 10:19:56PM +0200, Wolfram Sang wrote:
>
> > You know about
> > devm_platform_get_and_ioremap_resource()
> > usage.
> > Maybe that's the way to go. Because as of today there is no way to pass
> > position of irq resource.
> >
> > But I expect it will come in near future.
>
> Has been tried, has been nacked:
>
> http://patchwork.ozlabs.org/project/linux-i2c/patch/20200518155304.28639-3-zhengdejin5@xxxxxxxxx/
>
Wolfram and Michal, Thanks very much for your comments, I will resend
devm_platform_request_irq() again.

BR,
Dejin