]> www.infradead.org Git - users/hch/misc.git/commit
mmc: mtk-sd: disable wakeup in .remove() and in the error path of .probe()
authorJoe Hattori <joe@pf.is.s.u-tokyo.ac.jp>
Tue, 3 Dec 2024 02:34:42 +0000 (11:34 +0900)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 10 Dec 2024 15:02:34 +0000 (16:02 +0100)
commitf3d87abe11ed04d1b23a474a212f0e5deeb50892
treec92cb9129f7368850edb77493ae93173b9c3ef32
parenta56335c85b592cb2833db0a71f7112b7d9f0d56b
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: 527f36f5efa4 ("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>
drivers/mmc/host/mtk-sd.c