diff options
author | Franklin Wei <git@fwei.tk> | 2017-08-10 22:11:18 -0400 |
---|---|---|
committer | Franklin Wei <git@fwei.tk> | 2017-08-10 22:11:18 -0400 |
commit | e00d78d5abf6960f92cc56554b756627be0d92f3 (patch) | |
tree | 079ced5e1f1099572ca0392956908c6bec24e3e2 /firmware/target/arm/tcc780x/sd-tcc780x.c | |
parent | 0dbf7017beab7925d14b788f5157d68b88a3b452 (diff) | |
download | rockbox-e00d78d5abf6960f92cc56554b756627be0d92f3.tar.gz rockbox-e00d78d5abf6960f92cc56554b756627be0d92f3.zip |
Remove bad mutex lock/unlock from tcc780x SD driver
This should make cowond2 work again.
Change-Id: Ib23d1548f72f9b604adad46fa1a1c0adee53c29e
Diffstat (limited to 'firmware/target/arm/tcc780x/sd-tcc780x.c')
-rw-r--r-- | firmware/target/arm/tcc780x/sd-tcc780x.c | 4 |
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) | |||
730 | if (!initialized) | 730 | if (!initialized) |
731 | mutex_init(&sd_mtx); | 731 | mutex_init(&sd_mtx); |
732 | 732 | ||
733 | mutex_lock(&sd_mtx); | ||
734 | |||
735 | led(false); | 733 | led(false); |
736 | 734 | ||
737 | if (!initialized) | 735 | if (!initialized) |
@@ -769,8 +767,6 @@ int sd_init(void) | |||
769 | #endif | 767 | #endif |
770 | } | 768 | } |
771 | 769 | ||
772 | mutex_unlock(&sd_mtx); | ||
773 | |||
774 | return ret; | 770 | return ret; |
775 | } | 771 | } |
776 | 772 | ||