]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Char: moxa, serialise timer
authorJiri Slaby <jirislaby@gmail.com>
Wed, 30 Apr 2008 07:53:45 +0000 (00:53 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 30 Apr 2008 15:29:43 +0000 (08:29 -0700)
commit2a5413416b6b2fd8a5a38601a4fe3b56a52cfb86
tree42957e12d04a369af4a481ed9b275099dd59348e
parent2108eba5c531c12f5ae2ed2ef4cee7bf4246897b
Char: moxa, serialise timer

- del timer after we are sure it won't be fired again
- make timer scheduling atomic
- don't reschedule timer when all cards have gone

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Tested-by: Oyvind Aabling <Oyvind.Aabling@uni-c.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/moxa.c