]> git.baikalelectronics.ru Git - kernel.git/commit
i3c master: fix missing destroy_workqueue() on error in i3c_master_register
authorQinglang Miao <miaoqinglang@huawei.com>
Wed, 28 Oct 2020 09:15:43 +0000 (17:15 +0800)
committerBoris Brezillon <boris.brezillon@collabora.com>
Mon, 23 Nov 2020 09:22:16 +0000 (10:22 +0100)
commitfb35607b592c1d002ed6f911c3c0d5db0c73074a
treee0626ea55e72f08d7d466220e4e188e074346a62
parent68ed2672b8fdb9454c449f573990714135c93adc
i3c master: fix missing destroy_workqueue() on error in i3c_master_register

Add the missing destroy_workqueue() before return from
i3c_master_register in the error handling case.

Signed-off-by: Qinglang Miao <miaoqinglang@huawei.com>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Link: https://lore.kernel.org/linux-i3c/20201028091543.136167-1-miaoqinglang@huawei.com
drivers/i3c/master.c