]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
use mutex instead of semaphore in SPI core/init code
authorMatthias Kaehlcke <matthias.kaehlcke@gmail.com>
Tue, 17 Jul 2007 11:04:16 +0000 (04:04 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 17 Jul 2007 17:23:05 +0000 (10:23 -0700)
commit940408289842677cfe9e053a6c423bf3fb922560
tree5648e2dc2ae121395e33e596fbf6d252f7c51cbd
parentf2cac67dd36626128e06e79fc7ca95d544dcdc67
use mutex instead of semaphore in SPI core/init code

The SPI core/init code uses a semaphore as mutex.  Use the mutex API instead
of the (binary) semaphore.

Signed-off-by: Matthias Kaehlcke <matthias.kaehlcke@gmail.com>
Acked-by: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/spi/spi.c