1
linux/drivers/mmc/card
Akinobu Mita a650031a6b mmc_test: initialize mmc_test_lock statically
The mutex mmc_test_lock is initialized at every time mmc_test device
is probed. Probing another mmc_test device may break the mutex, if
the probe function is called while the mutex is locked.

This patch fixes it by statically initializing mmc_test_lock.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
2008-09-20 13:03:50 +02:00
..
block.c mmc_block: handle error from mmc_register_driver() 2008-09-20 13:03:26 +02:00
Kconfig mmc: mmc host test driver 2008-05-14 21:02:16 +02:00
Makefile mmc: mmc host test driver 2008-05-14 21:02:16 +02:00
mmc_test.c mmc_test: initialize mmc_test_lock statically 2008-09-20 13:03:50 +02:00
queue.c mmc_block: bounce buffer highmem support 2008-07-23 14:42:09 +02:00
queue.h mmc: bounce requests for simple hosts 2007-07-09 21:22:53 +02:00
sdio_uart.c sdio_uart: Fix SDIO break control to now return success or an error 2008-07-15 15:47:04 +02:00