]> granicus.if.org Git - esp-idf/commit
sdmmc: enable host auto_stop only for certain commands
authorIvan Grokhotkov <ivan@espressif.com>
Thu, 5 Jul 2018 08:50:16 +0000 (16:50 +0800)
committerbot <bot@espressif.com>
Fri, 13 Jul 2018 03:28:10 +0000 (03:28 +0000)
commit6d46eed8e408fdb2cb25f5a7cc5efab24eb2e1c8
treef518f8807e8e0fb693d6d2c9a7f94a2f08f30a3a
parentffaf08e85117487cbbcb90f898bbd25d3047dea7
sdmmc: enable host auto_stop only for certain commands

Perviously host send_auto_stop flag would be set for every data
transfer over 1 block long. This caused stop commands to be sent
after CMD53, which shouldn't be done. Fix by adding an explicit list
of commands for which send_auto_stop should be set.
components/driver/include/driver/sdmmc_defs.h
components/driver/sdmmc_transaction.c