diff options
author | Chris Lu <chris.lu@mediatek.com> | 2025-04-22 09:21:55 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-05-29 11:14:07 +0200 |
commit | 10999c4102ff8918a6b07d94cf59e47c4c697992 (patch) | |
tree | c04870c5bc9087f23c5a2cca65cfebd2484d53b3 /drivers/usb/cdns3/cdns3-debug.h | |
parent | 2a21e9e0fc585e26f5c96e84b6d88e4ba9969460 (diff) |
Bluetooth: btmtksdio: Check function enabled before doing close
commit 07e90048e356a29079fbc011cfc2e1fa1d1c5ac9 upstream.
Check BTMTKSDIO_FUNC_ENABLED flag before doing close to prevent
btmtksdio_close been called twice.
Fixes: 6ac4233afb9a ("Bluetooth: btmtksdio: Prevent enabling interrupts after IRQ handler removal")
Signed-off-by: Chris Lu <chris.lu@mediatek.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions