Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1490612
| From | Kefeng Wang <wangkefeng.wang@huawei.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 4/5] tty: amba-pl011: Don't complain on -EPROBE_DEFER when no irq |
| Date | 2016-09-24 11:30 +0200 |
| Message-ID | <skRrr-7FA-5@gated-at.bofh.it> (permalink) |
| References | <skRhL-7Cx-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Don't complain on -EPROBE_DEFER when attempting to get the irq.
the driver probe will be retried later.
Cc: Russell King <linux@armlinux.org.uk>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
---
drivers/tty/serial/amba-pl011.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c
index 8a9e213..7d9b291 100644
--- a/drivers/tty/serial/amba-pl011.c
+++ b/drivers/tty/serial/amba-pl011.c
@@ -2555,7 +2555,8 @@ static int sbsa_uart_probe(struct platform_device *pdev)
ret = platform_get_irq(pdev, 0);
if (ret < 0) {
- dev_err(&pdev->dev, "cannot obtain irq\n");
+ if (ret != -EPROBE_DEFER)
+ dev_err(&pdev->dev, "cannot obtain irq\n");
return ret;
}
uap->port.irq = ret;
--
1.7.12.4
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 0/5] arm64: dts: hisilicon: Hip06 fix and support Hip07 D05 board Kefeng Wang <wangkefeng.wang@huawei.com> - 2016-09-24 11:20 +0200
[PATCH 3/5] arm64: dts: hisilicon: Add initial dts for Hip07 D05 board Kefeng Wang <wangkefeng.wang@huawei.com> - 2016-09-24 11:20 +0200
[PATCH 1/5] arm64: dts: hip06: Correct hardware pin number of usb node Kefeng Wang <wangkefeng.wang@huawei.com> - 2016-09-24 11:20 +0200
[PATCH 2/5] Documentation: arm64: Add Hisilicon Hip07 D05 dts binding Kefeng Wang <wangkefeng.wang@huawei.com> - 2016-09-24 11:20 +0200
[PATCH 5/5] tty: amba-pl011: Add earlycon support for SBSA UART Kefeng Wang <wangkefeng.wang@huawei.com> - 2016-09-24 11:30 +0200
Re: [PATCH 5/5] tty: amba-pl011: Add earlycon support for SBSA UART Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2016-09-27 13:00 +0200
Re: [PATCH 5/5] tty: amba-pl011: Add earlycon support for SBSA UART Kefeng Wang <wangkefeng.wang@huawei.com> - 2016-09-27 15:30 +0200
[PATCH 4/5] tty: amba-pl011: Don't complain on -EPROBE_DEFER when no irq Kefeng Wang <wangkefeng.wang@huawei.com> - 2016-09-24 11:30 +0200
csiph-web