aboutsummaryrefslogtreecommitdiff
path: root/drivers/iio
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2012-09-17 13:26:00 +0100
committerJonathan Cameron <jic23@kernel.org>2012-09-17 22:10:00 +0100
commit2aecc5b95cdb17d7b80463e9c1a542f389403cbb (patch)
tree73ccd6e1c577cab3c555c0d378e020800abf262e /drivers/iio
parent37812d2e10e5790f3cc3319055aac0647080c4af (diff)
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 <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio')
0 files changed, 0 insertions, 0 deletions