]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(mmc): remove redundant reset_to_idle call
authorBaruch Siach <baruch@tkos.co.il>
Tue, 28 Feb 2023 10:52:00 +0000 (11:52 +0100)
committerYann Gautier <yann.gautier@st.com>
Wed, 1 Mar 2023 16:23:49 +0000 (17:23 +0100)
commitbc0a73866f3e4f7138892b228eb592be118b40d2
treeff59b779326ad095e5b67f8fe177534999b8960d
parent55d5c6a16ab69b2c99aedbd1aa0d3e58350f4380
fix(mmc): remove redundant reset_to_idle call

mmc_enumerate() is the only caller of mmc_send_op_cond().
mmc_enumerate() calls mmc_reset_to_idle() just before calling
mmc_send_op_cond(). No need to do that again in mmc_send_op_cond().

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Change-Id: Ib8c8ed1a559e3fecb315245f91bb3dc1f547d820
drivers/mmc/mmc.c