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:
parent
6899b4f7c9
commit
eac36c8651
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue