From: Sean Young Date: Mon, 13 Aug 2012 11:59:48 +0000 (-0300) Subject: [media] saa7134: simplify timer activation X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~3^2^2~450 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4da212e2ffaa34edb887a3a86424124fe8341e34;p=pandora-kernel.git [media] saa7134: simplify timer activation This simplies the code and resolves a possible race condition between ir_raw_decode_timer_end() and saa7134_raw_decode_irq(). If the interrupt handler is called after ir_raw_decode_timer_end() calls ir_raw_event_handle() but before clearing ir->active, then the timer won't be rearmed. Compile tested only. Signed-off-by: Sean Young Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed