]> git.baikalelectronics.ru Git - arm-tf.git/commit
mmc: st: clear some flags before sending a command
authorYann Gautier <yann.gautier@st.com>
Fri, 12 Jun 2020 12:14:26 +0000 (14:14 +0200)
committerYann Gautier <yann.gautier@st.com>
Thu, 24 Sep 2020 07:32:23 +0000 (09:32 +0200)
commit54019a35b817976793903f0030108148631aaace
treeece3e267265eee41100bdbd85e9d34137d4609a7
parent7d8e1218c28ec9c549b05e09210f72059d425012
mmc: st: clear some flags before sending a command

The ICR static flags are cleared before sending a command.
The SDMMC_DCTRLR register is set to 0 if no data is expected on a given
command or on the next command in case of CMD55.

Change-Id: I5ae172a484218f53160e98b3684967c6960475a6
Signed-off-by: Yann Gautier <yann.gautier@st.com>
drivers/st/mmc/stm32_sdmmc2.c