From e00d78d5abf6960f92cc56554b756627be0d92f3 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Thu, 10 Aug 2017 22:11:18 -0400 Subject: Remove bad mutex lock/unlock from tcc780x SD driver This should make cowond2 work again. Change-Id: Ib23d1548f72f9b604adad46fa1a1c0adee53c29e --- firmware/target/arm/tcc780x/sd-tcc780x.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'firmware/target/arm/tcc780x/sd-tcc780x.c') 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; } -- cgit v1.2.3