summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2017-08-10 22:11:18 -0400
committerFranklin Wei <git@fwei.tk>2017-08-10 22:11:18 -0400
commite00d78d5abf6960f92cc56554b756627be0d92f3 (patch)
tree079ced5e1f1099572ca0392956908c6bec24e3e2 /firmware
parent0dbf7017beab7925d14b788f5157d68b88a3b452 (diff)
Remove bad mutex lock/unlock from tcc780x SD driver
This should make cowond2 work again. Change-Id: Ib23d1548f72f9b604adad46fa1a1c0adee53c29e
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/tcc780x/sd-tcc780x.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/firmware/target/arm/tcc780x/sd-tcc780x.c b/firmware/target/arm/tcc780x/sd-tcc780x.c
index b7abea8be4..ba98539157 100644
--- a/firmware/target/arm/tcc780x/sd-tcc780x.c
+++ b/firmware/target/arm/tcc780x/sd-tcc780x.c
@@ -730,8 +730,6 @@ int sd_init(void)
if (!initialized)
mutex_init(&sd_mtx);
- mutex_lock(&sd_mtx);
-
led(false);
if (!initialized)
@@ -769,8 +767,6 @@ int sd_init(void)
#endif
}
- mutex_unlock(&sd_mtx);
-
return ret;
}