]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
Bluetooth: btmtksdio: fix resume failure
authorSean Wang <sean.wang@mediatek.com>
Wed, 1 Dec 2021 18:02:47 +0000 (02:02 +0800)
committerStefan Bader <stefan.bader@canonical.com>
Mon, 7 Mar 2022 15:35:38 +0000 (16:35 +0100)
commit2e80b3a7b72e28f60feb62ce59dca7875b7d93eb
tree216707a6ab55d32ac1e9aaf67f09654a60fc999d
parent16add989b8ee3c30b8d3d185100d7fd995c7f0d9
Bluetooth: btmtksdio: fix resume failure

BugLink: https://bugs.launchpad.net/bugs/1960566
[ Upstream commit 561ae1d46a8ddcbc13162d5771f5ed6c8249e730 ]

btmtksdio have to rely on MMC_PM_KEEP_POWER in pm_flags to avoid that
SDIO power is being shut off during the device is in suspend. That fixes
the SDIO command fails to access the bus after the device is resumed.

Fixes: 7f3c563c575e7 ("Bluetooth: btmtksdio: Add runtime PM support to SDIO based Bluetooth")
Co-developed-by: Mark-yw Chen <mark-yw.chen@mediatek.com>
Signed-off-by: Mark-yw Chen <mark-yw.chen@mediatek.com>
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/bluetooth/btmtksdio.c