Bluetooth: btmtksdio: fix resume failure
authorSean Wang <sean.wang@mediatek.com>
Wed, 1 Dec 2021 18:02:47 +0000 (02:02 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 3 Dec 2021 21:09:59 +0000 (22:09 +0100)
commit561ae1d46a8ddcbc13162d5771f5ed6c8249e730
tree4eaffca91b826cfcae90bebd4015a5c3d69a4119
parent4b4b2228f521c338030b1f310a5dee73fd7d8f26
Bluetooth: btmtksdio: fix resume failure

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>
drivers/bluetooth/btmtksdio.c