diff options
author | Fabien Dessenne <fabien.dessenne@st.com> | 2019-01-04 16:47:47 +0300 |
---|---|---|
committer | Jassi Brar <jaswinder.singh@linaro.org> | 2019-03-07 05:33:52 +0300 |
commit | eac36c8651210df34d43331a6cc3fb3c2ee7abe2 (patch) | |
tree | d308619b84753bb7982432af0e2ef9d1b4b2b494 | |
parent | 6899b4f7c99c72968e58e502f96084f74f6e5e86 (diff) | |
download | linux-eac36c8651210df34d43331a6cc3fb3c2ee7abe2.tar.xz |
mailbox: stm32-ipcc: do not enable wakeup source by default
By default do not enable the wakeup source.
This lets the userspace application decide whether the wakeup source
shall be enabled or not.
Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
-rw-r--r-- | drivers/mailbox/stm32-ipcc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mailbox/stm32-ipcc.c b/drivers/mailbox/stm32-ipcc.c index a338bd4cd7db..7ca8a14138b7 100644 --- a/drivers/mailbox/stm32-ipcc.c +++ b/drivers/mailbox/stm32-ipcc.c @@ -270,7 +270,7 @@ static int stm32_ipcc_probe(struct platform_device *pdev) goto err_clk; } - device_init_wakeup(dev, true); + device_set_wakeup_capable(dev, true); ret = dev_pm_set_dedicated_wake_irq(dev, ipcc->wkp); if (ret) { dev_err(dev, "Failed to set wake up irq\n"); |