Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Fabien Dessenne and committed by
Jassi Brar
eac36c86 6899b4f7

+1 -1
+1 -1
drivers/mailbox/stm32-ipcc.c
··· 270 270 goto err_clk; 271 271 } 272 272 273 - device_init_wakeup(dev, true); 273 + device_set_wakeup_capable(dev, true); 274 274 ret = dev_pm_set_dedicated_wake_irq(dev, ipcc->wkp); 275 275 if (ret) { 276 276 dev_err(dev, "Failed to set wake up irq\n");