1
0
Fork 0
forked from len0rd/rockbox

Remove bad mutex lock/unlock from tcc780x SD driver

This should make cowond2 work again.

Change-Id: Ib23d1548f72f9b604adad46fa1a1c0adee53c29e
This commit is contained in:
Franklin Wei 2017-08-10 22:11:18 -04:00
parent 0dbf7017be
commit e00d78d5ab

View file

@ -730,8 +730,6 @@ int sd_init(void)
if (!initialized) if (!initialized)
mutex_init(&sd_mtx); mutex_init(&sd_mtx);
mutex_lock(&sd_mtx);
led(false); led(false);
if (!initialized) if (!initialized)
@ -769,8 +767,6 @@ int sd_init(void)
#endif #endif
} }
mutex_unlock(&sd_mtx);
return ret; return ret;
} }