Commit f3d87ab
mmc: mtk-sd: disable wakeup in .remove() and in the error path of .probe()
Current implementation leaves pdev->dev as a wakeup source. Add a
device_init_wakeup(&pdev->dev, false) call in the .remove() function and
in the error path of the .probe() function.
Signed-off-by: Joe Hattori <[email protected]>
Fixes: 527f36f ("mmc: mediatek: add support for SDIO eint wakup IRQ")
Cc: [email protected]
Message-ID: <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>1 parent a56335c commit f3d87ab
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3070 | 3070 | | |
3071 | 3071 | | |
3072 | 3072 | | |
| 3073 | + | |
3073 | 3074 | | |
3074 | 3075 | | |
3075 | 3076 | | |
| |||
3103 | 3104 | | |
3104 | 3105 | | |
3105 | 3106 | | |
| 3107 | + | |
3106 | 3108 | | |
3107 | 3109 | | |
3108 | 3110 | | |
| |||
0 commit comments