summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/allocator
diff options
context:
space:
mode:
authorIsmail Tarim <ismailtarim7@gmail.com>2026-10-30 01:40:15 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2026-11-02 17:09:02 -0500
commit3b70dd827b27bfadd89e7b1a2d422b04da38797c (patch)
treebcd78b6aed4c90ae7127c160536d35ef256858e6 /rust/kernel/alloc/allocator
parent5b7d0386a4e75c85479da0fbd9fd66a3e9201375 (diff)
Bluetooth: btmtk: fix error handling in btmtk_usb_isointf_init()
btmtk_usb_isointf_init() submits the ISO interrupt IN URB and then sends the vendor command 0xfd98. If that command fails, the function returns an error without killing the URB it has just submitted. The caller then leaves BTMTK_ISOPKT_RUNNING clear, so the driver treats the ISO path as inactive while its RX URB is still in flight, and btmtk_usb_suspend() skips killing it. Kill the anchored URBs on this path, as the URB submission failure path already does. The return value of __set_mtk_intr_interface() is also ignored: a failure to select the ISO alternate setting or to find its endpoints is logged, but the function goes on to submit the URB. Return the error instead. Fixes: ceac1cb0259d ("Bluetooth: btusb: mediatek: add ISO data transmission functions") Signed-off-by: Ismail Tarim <ismailtarim7@gmail.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'rust/kernel/alloc/allocator')
0 files changed, 0 insertions, 0 deletions