]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ser_gigaset: convert mutex to completion
authorTilman Schmidt <tilman@imap.cc>
Wed, 6 Feb 2008 09:38:30 +0000 (01:38 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 6 Feb 2008 18:41:12 +0000 (10:41 -0800)
commitee51ef0ecbb68fdd7beab8f7b0a20eebe6fd0a62
tree3886b66626b763d98f2bd71eae6d89689248d210
parente468c04894f36045cf93d1384183a461014b6840
ser_gigaset: convert mutex to completion

The ser_gigaset ISDN driver was using a mutex in its close() method for
waiting for other running ldisc methods to finish.  That's what completions
are for.  Incidentally, this also avoids a spurious "BUG: lock held at task
exit time" message when the driver's userspace daemon daemonizes itself.

Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/isdn/gigaset/ser-gigaset.c