Commit 6d38b362 authored by Hamad Kadmany's avatar Hamad Kadmany
Browse files

media: dvb: Fix stopping of DVR thread



kernel-thread can be stopped either externally using
kthread_stop or the thread function exits by itself, only
one of the approaches should be used.

When kernel thread-function exits the task is cleaned up,
calling kthread_stop afterwords causes failure.

Change-Id: I3eb36e85fa6a650ebdbf2b34dd2ca434f34f28e6
Signed-off-by: default avatarHamad Kadmany <hkadmany@codeaurora.org>
parent f65feb80
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment