Re: [PATCH v2 1/1] serial: sh-sci: Respect deferred probe when getting IRQ

2021-04-12 Thread Geert Uytterhoeven
Hi Günter, On Wed, Apr 7, 2021 at 10:58 PM Guenter Roeck wrote: > On 4/7/21 3:17 AM, Andy Shevchenko wrote: > > With platform_get_irq() and its optional variant it's possible to get > > a deferred probe error code. Since the commit ed7027fdf4ec ("driver core: > > platform: Make

Re: [PATCH v2 1/1] serial: sh-sci: Respect deferred probe when getting IRQ

2021-04-07 Thread Andy Shevchenko
On Wed, Apr 07, 2021 at 06:11:46AM -0700, Guenter Roeck wrote: > On 4/7/21 3:17 AM, Andy Shevchenko wrote: > > With platform_get_irq() and its optional variant it's possible to get > > a deferred probe error code. Since the commit ed7027fdf4ec ("driver core: > > platform: Make

Re: [PATCH v2 1/1] serial: sh-sci: Respect deferred probe when getting IRQ

2021-04-07 Thread Guenter Roeck
On 4/7/21 3:17 AM, Andy Shevchenko wrote: > With platform_get_irq() and its optional variant it's possible to get > a deferred probe error code. Since the commit ed7027fdf4ec ("driver core: > platform: Make platform_get_irq_optional() optional") the error code > can be distinguished from no IRQ

Re: [PATCH v2 1/1] serial: sh-sci: Respect deferred probe when getting IRQ

2021-04-07 Thread Andy Shevchenko
On Wed, Apr 07, 2021 at 12:23:21PM +0200, Greg Kroah-Hartman wrote: > On Wed, Apr 07, 2021 at 01:17:13PM +0300, Andy Shevchenko wrote: > > With platform_get_irq() and its optional variant it's possible to get > > a deferred probe error code. Since the commit ed7027fdf4ec ("driver core: > >

Re: [PATCH v2 1/1] serial: sh-sci: Respect deferred probe when getting IRQ

2021-04-07 Thread Greg Kroah-Hartman
On Wed, Apr 07, 2021 at 01:17:13PM +0300, Andy Shevchenko wrote: > With platform_get_irq() and its optional variant it's possible to get > a deferred probe error code. Since the commit ed7027fdf4ec ("driver core: > platform: Make platform_get_irq_optional() optional") the error code > can be

[PATCH v2 1/1] serial: sh-sci: Respect deferred probe when getting IRQ

2021-04-07 Thread Andy Shevchenko
With platform_get_irq() and its optional variant it's possible to get a deferred probe error code. Since the commit ed7027fdf4ec ("driver core: platform: Make platform_get_irq_optional() optional") the error code can be distinguished from no IRQ case. With this, rewrite IRQ resource handling in