From: Lars-Peter Clausen Date: Mon, 17 Sep 2012 12:26:00 +0000 (+0100) Subject: staging:iio:trigger:bfintmr: Only enable timer when necessary X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~161^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2aecc5b95cdb17d7b80463e9c1a542f389403cbb;p=pandora-kernel.git staging:iio:trigger:bfintmr: Only enable timer when necessary This patch hooks up the set_trigger_state callback for the blackfin timer trigger driver and only enables the timer when a trigger consumer requests it to be enabled. There really is no reason to keep the timer running and generate interrupts if nobody is listening to them. Signed-off-by: Lars-Peter Clausen Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed