Hi Sean, > 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@xxxxxxxxxxxx> > Signed-off-by: Mark-yw Chen <mark-yw.chen@xxxxxxxxxxxx> > Signed-off-by: Sean Wang <sean.wang@xxxxxxxxxxxx> > --- > v2: not check HCI_RUNNING from a driver, use an internal flag instead > --- > drivers/bluetooth/btmtksdio.c | 10 ++++++++++ > 1 file changed, 10 insertions(+) patch has been applied to bluetooth-next tree. Regards Marcel