Skip to content

Commit

Permalink
mailbox: stm32-ipcc: do not enable wakeup source by default
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Fabien Dessenne authored and JassiBrar committed Mar 7, 2019
1 parent 6899b4f commit eac36c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mailbox/stm32-ipcc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit eac36c8

Please sign in to comment.