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:
parent
0dbf7017be
commit
e00d78d5ab
1 changed files with 0 additions and 4 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue