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 <joe@pf.is.s.u-tokyo.ac.jp>
Fixes: 527f36f ("mmc: mediatek: add support for SDIO eint wakup IRQ")
Cc: stable@vger.kernel.org
Message-ID: <20241203023442.2434018-1-joe@pf.is.s.u-tokyo.ac.jp>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>1 parent a56335c commit f3d87ab
1 file changed
Lines changed: 2 additions & 0 deletions
| 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