diff options
author | Andreas Oberritter <obi@linuxtv.org> | 2011-12-09 19:37:00 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-12-30 14:16:01 -0500 |
commit | b9d5efcceb6b34ee20111b62cf7be61ae79af4e9 (patch) | |
tree | 7a0dc9653474e821ebd2de3ee1d2f6faf9cab75f /drivers/media/video/tda9840.c | |
parent | a1dca1e30ac7991d8a90a3377008c850eb466edf (diff) |
[media] DVB: dvb_frontend: fix delayed thread exit
There are some issues and miss-behaves at the dvb fe thread:
1) dvb_shutdown_timeout should be dvb_shutdown_timeout * HZ
instead of (dvb_shutdown_timeout * HZ + 1);
2) add a memory barrier to warrant that all CPU's will consider the
new value for release_jiffies;
3) wake up dvb thread also when fepriv->exit == DVB_FE_NO_EXIT.
Signed-off-by: Andreas Oberritter <obi@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/tda9840.c')
0 files changed, 0 insertions, 0 deletions