Commit cc569d7
Bluetooth: btusb: mediatek: add intf release flow when usb disconnect
commit 489304e upstream.
MediaTek claim an special usb intr interface for ISO data transmission.
The interface need to be released before unregistering hci device when
usb disconnect. Removing BT usb dongle without properly releasing the
interface may cause Kernel panic while unregister hci device.
Signed-off-by: Chris Lu <chris.lu@mediatek.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Cc: Fedor Pchelkin <boddah8794@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 9da1cfc commit cc569d7
1 file changed
+15
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2644 | 2644 | | |
2645 | 2645 | | |
2646 | 2646 | | |
2647 | | - | |
| 2647 | + | |
2648 | 2648 | | |
2649 | | - | |
| 2649 | + | |
2650 | 2650 | | |
2651 | 2651 | | |
2652 | 2652 | | |
| |||
2662 | 2662 | | |
2663 | 2663 | | |
2664 | 2664 | | |
| 2665 | + | |
| 2666 | + | |
| 2667 | + | |
| 2668 | + | |
| 2669 | + | |
| 2670 | + | |
| 2671 | + | |
| 2672 | + | |
| 2673 | + | |
| 2674 | + | |
2665 | 2675 | | |
2666 | 2676 | | |
2667 | 2677 | | |
| |||
2679 | 2689 | | |
2680 | 2690 | | |
2681 | 2691 | | |
2682 | | - | |
| 2692 | + | |
2683 | 2693 | | |
2684 | 2694 | | |
2685 | 2695 | | |
| |||
2733 | 2743 | | |
2734 | 2744 | | |
2735 | 2745 | | |
2736 | | - | |
2737 | 2746 | | |
2738 | 2747 | | |
2739 | 2748 | | |
2740 | 2749 | | |
2741 | 2750 | | |
2742 | 2751 | | |
2743 | | - | |
| 2752 | + | |
2744 | 2753 | | |
2745 | 2754 | | |
2746 | 2755 | | |
| |||
3854 | 3863 | | |
3855 | 3864 | | |
3856 | 3865 | | |
| 3866 | + | |
3857 | 3867 | | |
3858 | 3868 | | |
3859 | 3869 | | |
| |||
0 commit comments