diff options
author | Sean Wang <sean.wang@mediatek.com> | 2021-12-01 21:02:46 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2021-12-04 00:09:59 +0300 |
commit | 4b4b2228f521c338030b1f310a5dee73fd7d8f26 (patch) | |
tree | dcfbadfb7cd4cd519ecb21174ed362fc232e3f93 /kernel | |
parent | c97a747efc93f94a4ad6c707972dfbf8d774edf9 (diff) | |
download | linux-4b4b2228f521c338030b1f310a5dee73fd7d8f26.tar.xz |
Bluetooth: btmtksdio: handle runtime pm only when sdio_func is available
Runtime pm ops is not aware the sdio_func status that is probably
being disabled by btmtksdio_close. Thus, we are only able to access the
sdio_func for the runtime pm operations only when the sdio_func is
available.
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>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions