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>
This commit is contained in:
Fabien Dessenne 2019-01-04 14:47:47 +01:00 committed by Jassi Brar
parent 6899b4f7c9
commit eac36c8651
1 changed files with 1 additions and 1 deletions

View File

@ -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");