summaryrefslogtreecommitdiff
path: root/drivers/mailbox
diff options
context:
space:
mode:
authorFabien Dessenne <fabien.dessenne@st.com>2019-01-04 14:47:47 +0100
committerJassi Brar <jaswinder.singh@linaro.org>2019-03-06 20:33:52 -0600
commiteac36c8651210df34d43331a6cc3fb3c2ee7abe2 (patch)
treed308619b84753bb7982432af0e2ef9d1b4b2b494 /drivers/mailbox
parent6899b4f7c99c72968e58e502f96084f74f6e5e86 (diff)
downloadlinux-eac36c8651210df34d43331a6cc3fb3c2ee7abe2.tar.gz
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>
Diffstat (limited to 'drivers/mailbox')
-rw-r--r--drivers/mailbox/stm32-ipcc.c2
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");