]> asedeno.scripts.mit.edu Git - linux.git/commit
media: bdisp: add missed destroy_workqueue in remove and probe failure
authorChuhong Yuan <hslester96@gmail.com>
Wed, 13 Nov 2019 06:37:30 +0000 (07:37 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 13 Dec 2019 08:18:16 +0000 (09:18 +0100)
commit8ea1c5af489a76275bab36ad378452be18210c77
treefda67a16d903ed00bd4ae4dce6ead9eab2988eaa
parent569bc8d6a6a50acb5fcf07fb10b8d2d461fdbf93
media: bdisp: add missed destroy_workqueue in remove and probe failure

The driver forgets to call destroy_workqueue when remove and probe fails.
Add the missed calls to fix it.

Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Reviewed-by: Fabien Dessenne <fabien.dessenne@st.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/sti/bdisp/bdisp-v4l2.c