]> git.baikalelectronics.ru Git - kernel.git/commit
Blackfin: gptimers: fix thinko when disabling timers
authorMike Frysinger <vapier@gentoo.org>
Mon, 4 Apr 2011 15:20:50 +0000 (15:20 +0000)
committerMike Frysinger <vapier@gentoo.org>
Wed, 13 Apr 2011 23:34:05 +0000 (19:34 -0400)
commit7e4a593a91c2112becea47d667eff9dfba151029
treebd0cc24eeb50867659709e2c2751934a4f35a8e2
parent5291f437e36169d9da2634e407b4a82e7f36876f
Blackfin: gptimers: fix thinko when disabling timers

We only want to clear the run bit for this one timer, not all status bits.
So don't read the whole reg and then write all the bits back out.

Reported-by: Isabelle Leonardi <i.leonardi@detracom.fr>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/kernel/gptimers.c