Bluetooth: btusb: Add the missed release_firmware() in btusb_mtk_setup_firmware()
stable inclusion from stable-5.10.4 commit ae0e737765b88e48db69e485ebe9a70716ecad46 bugzilla: 46903 -------------------------------- [ Upstream commit d1e9d232 ] btusb_mtk_setup_firmware() misses to call release_firmware() in an error path. Jump to err_release_fw to fix it. Fixes: f6451257 ("Bluetooth: btusb: fix up firmware download sequence") Signed-off-by: NJing Xiangfeng <jingxiangfeng@huawei.com> Signed-off-by: NMarcel Holtmann <marcel@holtmann.org> Signed-off-by: NJohan Hedberg <johan.hedberg@intel.com> Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NChen Jun <chenjun102@huawei.com> Acked-by: NXie XiuQi <xiexiuqi@huawei.com>
Showing
想要评论请 注册 或 登录