diff options
-rw-r--r-- | firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c b/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c index 6ee18a47d6..63b9913d29 100644 --- a/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c +++ b/firmware/target/mips/ingenic_jz47xx/ata-sd-jz4740.c | |||
@@ -1700,6 +1700,8 @@ int sd_read_sectors(IF_MV2(int drive,) unsigned long start, int count, void* buf | |||
1700 | #ifdef HAVE_MULTIVOLUME | 1700 | #ifdef HAVE_MULTIVOLUME |
1701 | (void)drive; | 1701 | (void)drive; |
1702 | #endif | 1702 | #endif |
1703 | led(true); | ||
1704 | |||
1703 | struct mmc_request request; | 1705 | struct mmc_request request; |
1704 | struct mmc_response_r1 r1; | 1706 | struct mmc_response_r1 r1; |
1705 | int retval; | 1707 | int retval; |
@@ -1738,6 +1740,8 @@ int sd_read_sectors(IF_MV2(int drive,) unsigned long start, int count, void* buf | |||
1738 | if ((retval = mmc_unpack_r1(&request, &r1))) | 1740 | if ((retval = mmc_unpack_r1(&request, &r1))) |
1739 | return retval; | 1741 | return retval; |
1740 | 1742 | ||
1743 | led(false); | ||
1744 | |||
1741 | return retval; | 1745 | return retval; |
1742 | } | 1746 | } |
1743 | 1747 | ||
@@ -1746,6 +1750,8 @@ int sd_write_sectors(IF_MV2(int drive,) unsigned long start, int count, const vo | |||
1746 | #ifdef HAVE_MULTIVOLUME | 1750 | #ifdef HAVE_MULTIVOLUME |
1747 | (void)drive; | 1751 | (void)drive; |
1748 | #endif | 1752 | #endif |
1753 | led(true); | ||
1754 | |||
1749 | struct mmc_request request; | 1755 | struct mmc_request request; |
1750 | struct mmc_response_r1 r1; | 1756 | struct mmc_response_r1 r1; |
1751 | int retval; | 1757 | int retval; |
@@ -1782,6 +1788,8 @@ int sd_write_sectors(IF_MV2(int drive,) unsigned long start, int count, const vo | |||
1782 | if ((retval = mmc_unpack_r1(&request, &r1))) | 1788 | if ((retval = mmc_unpack_r1(&request, &r1))) |
1783 | return retval; | 1789 | return retval; |
1784 | 1790 | ||
1791 | led(false); | ||
1792 | |||
1785 | return retval; | 1793 | return retval; |
1786 | } | 1794 | } |
1787 | 1795 | ||