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)
commitce24ee468aabb7c499b910aa3c4ab3cb338326ed
treebd0cc24eeb50867659709e2c2751934a4f35a8e2
parent943aee0c685d0563228d5a2ad9c8394ad0300fb5
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