Re: [PATCH 2/2] watchdog: stm32_iwdg: Propagate -EPROBE_DEFER from IRQ lookup
Bui Duc Phuc <[email protected]>
| Newsgroups | org.kernel.vger.linux-watchdog,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <CAABR9nFqTWPingLM+kPknpU1OfC+2kOqELiT2Ep7wqN5JB6P5g@mail.gmail.com> |
Hi Guenter,
Thank you for your review.
> > - if (irq <= 0)
> > + if (irq == -EPROBE_DEFER)
> > + return irq;
> > + if (irq < 0)
> > return 0;
>
> if (irq < 0) {
> if (irq != -ENXIO)
> return irq;
> return 0;
> }
>
> platform_get_irq_optional() does not return 0. and -ENXIO is returned
> if there is no interrupt.
I will send a v2 soon.
Best regards,
Phuc