]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
media: cec-core.c: stop kthread_config before kthread
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Tue, 8 Sep 2020 10:26:10 +0000 (12:26 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sat, 26 Sep 2020 08:24:47 +0000 (10:24 +0200)
commit5254187cfaf22facc42415ad45c16db53ffd0c87
tree722629afe432791981450bffc8e7691faea39974
parent0893e4b2998a5d8d0c281909508fd4e6d1273d6c
media: cec-core.c: stop kthread_config before kthread

The kthread_config relies on the main kthread (message processing
loop) to be present, so stop kthread_config before kthread.

It's unlikely to be a problem (and I've never seen any issues), but
if nothing else it makes sense to stop the threads in this order.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/cec/core/cec-core.c