mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-02-06 19:39:48 +00:00
![Akinobu Mita](/assets/img/avatar_default.png)
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>