diff options
author | Fabien Dessenne <fabien.dessenne@st.com> | 2019-08-26 17:38:29 +0200 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2019-08-26 14:59:24 -0700 |
commit | d333de3707785b10c4f42e14f3ff254ac15cd7dc (patch) | |
tree | 82b46203e2c1373809b30814783099766c62ac4c /drivers/remoteproc | |
parent | abbe429d56168b90c03bc548403d72505e4fd6b2 (diff) | |
download | linux-d333de3707785b10c4f42e14f3ff254ac15cd7dc.tar.bz2 |
remoteproc: stm32: manage the get_irq probe defer case
Manage the -EPROBE_DEFER error case for "wdg" IRQ.
Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'drivers/remoteproc')
-rw-r--r-- | drivers/remoteproc/stm32_rproc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/remoteproc/stm32_rproc.c b/drivers/remoteproc/stm32_rproc.c index 1c959131d796..2cf4b2992bfc 100644 --- a/drivers/remoteproc/stm32_rproc.c +++ b/drivers/remoteproc/stm32_rproc.c @@ -517,6 +517,9 @@ static int stm32_rproc_parse_dt(struct platform_device *pdev) int err, irq; irq = platform_get_irq(pdev, 0); + if (irq == -EPROBE_DEFER) + return -EPROBE_DEFER; + if (irq > 0) { err = devm_request_irq(dev, irq, stm32_rproc_wdg, 0, dev_name(dev), rproc); |