From: Andreas Oberritter Date: Sat, 10 Dec 2011 00:37:00 +0000 (-0300) Subject: [media] DVB: dvb_frontend: fix delayed thread exit X-Git-Tag: v3.3-rc1~48^2~367 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9d5efcceb6b34ee20111b62cf7be61ae79af4e9;p=pandora-kernel.git [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 Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed