summaryrefslogtreecommitdiffstats
path: root/firmware/target
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2019-07-29 11:12:30 -0400
committerSolomon Peachy <pizza@shaftnet.org>2019-07-29 11:14:41 -0400
commit83963fcb15fa8badf23b0bb6f7b66673ccbbaf24 (patch)
tree2701c426794c63170ac1e77e6ae10d0dcc2290c5 /firmware/target
parent138a4f9d3d999e94d4e627b37e7db7a3f4da550e (diff)
downloadrockbox-83963fcb15fa8badf23b0bb6f7b66673ccbbaf24.tar.gz
rockbox-83963fcb15fa8badf23b0bb6f7b66673ccbbaf24.tar.bz2
rockbox-83963fcb15fa8badf23b0bb6f7b66673ccbbaf24.zip
XduooX3: Uncomment code that prevented hotswap from working.
Change-Id: I5efec00e60aacf05166407ad43b9d63340e18967
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/mips/ingenic_jz47xx/ata-sd-jz4760.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4760.c b/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4760.c
index a672bb8b82..0135c1ced9 100644
--- a/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4760.c
+++ b/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4760.c
@@ -1434,8 +1434,8 @@ int sd_event(long id, intptr_t data)
* clear if the last attempt to init failed with an error. */
mutex_lock(&sd_mtx); /* lock-out card activity */
card[data].initialized = 0;
-// if (id == SYS_HOTSWAP_INSERTED)
-// sd_init_device(data);
+ if (id == SYS_HOTSWAP_INSERTED)
+ sd_init_device(data);
mutex_unlock(&sd_mtx);
break;
#endif /* HAVE_HOTSWAP */