]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: btusb: Return error code when getting patch status failed
authorMark Chen <mark-yw.chen@mediatek.com>
Mon, 6 Dec 2021 17:33:43 +0000 (01:33 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 7 Dec 2021 16:05:52 +0000 (17:05 +0100)
commitc06b73b174af06c7dd2f1472bda3bdb629c337aa
treefcefa32102c9319dcc6bcd10699743a6d0683e63
parentf62a00ecf10c440e738e927140294cf8ed982296
Bluetooth: btusb: Return error code when getting patch status failed

If there are failure cases in getting patch status, it should return the
error code (-EIO).

Fixes: 4f0ea038a9bed ("Bluetooth: btusb: Add protocol support for MediaTek MT7921U USB devices")
Co-developed-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Mark Chen <mark-yw.chen@mediatek.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btmtk.c