diff options
| author | 2021-12-24 14:29:09 +0000 | |
|---|---|---|
| committer | 2021-12-30 13:26:48 +0100 | |
| commit | c195438f1e84de8fa46b4f5264d12379bee6e9a1 (patch) | |
| tree | 353f0333ee6a40107222d83ab66b5103bca55f67 /include/linux/phy/git:/ssh:/git@git.zx2c4.com | |
| parent | serial: 8250_bcm7271: Use platform_get_irq() to get the interrupt (diff) | |
| download | linux-dev-c195438f1e84de8fa46b4f5264d12379bee6e9a1.tar.xz linux-dev-c195438f1e84de8fa46b4f5264d12379bee6e9a1.zip | |
serial: 8250_bcm7271: Propagate error codes from brcmuart_probe()
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")
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Link: https://lore.kernel.org/r/20211224142917.6966-4-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/phy/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
