Re: [PATCH 03/10] serial: 8250_bcm7271: Propagate error codes from brcmuart_probe()

From: Florian Fainelli
Date: Fri Dec 24 2021 - 17:12:17 EST




On 12/24/2021 6:29 AM, Lad Prabhakar wrote:
In case of failures brcmuart_probe() always returned -ENODEV, this
isn't correct for example platform_get_irq_byname() may return
-EPROBE_DEFER to handle such cases propagate error codes in
brcmuart_probe() in case of failures.

Fixes: 41a469482de25 ("serial: 8250: Add new 8250-core based Broadcom STB driver")
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx>

Acked-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
--
Florian