MLK-17623: imx8 scu: Explicitly make irq optional
authorLeonard Crestez <leonard.crestez@nxp.com>
Wed, 7 Feb 2018 19:27:45 +0000 (21:27 +0200)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:55:59 +0000 (14:55 -0500)
commit68c301b8ed97df93bde490b152b128a1b91169c8
tree88599bea27237aa06e0989083aa3c91a8d4c422b
parent5ae531e40cae4e730d6daddae6204a3d819fc3d5
MLK-17623: imx8 scu: Explicitly make irq optional

The MU works just fine without interrupts because sc_call_rpc will poll
waiting for a response. Make this explicit because it allows easier
emulation for virtualization.

The request_irq error is just reported but doesn't fail the probe,
however failing to set that irq as a wake source is fatal.

This was introduced recently:
commit 3b20aa779f33 ("MLK-17072-1: soc: imx: sc: ipc: enable MU
interrupt as wakeup source")

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Acked-by: Peng Fan <peng.fan@nxp.com>
drivers/soc/imx/sc/main/ipc.c