arch/risc-v/src/mpfs/mpfs_coremmc: Remove data line check from sendcmd

mpfs_sendcmd() shall not wait for data lines ready before
sending commands to the card. This prevents mmcsd driver
to poll card busy status prior to next activity after
a write operation.
This commit is contained in:
Jari Nippula 2025-02-12 09:22:15 +02:00 committed by Xiang Xiao
parent 5cc01bb562
commit 5020572871

View file

@ -1399,16 +1399,6 @@ static int mpfs_sendcmd(struct sdio_dev_s *dev, uint32_t cmd,
struct mpfs_dev_s *priv = (struct mpfs_dev_s *)dev;
uint32_t cmdidx;
mpfs_reset_lines(priv);
/* Check if command / data lines are busy */
if (mpfs_check_lines_busy(priv))
{
mcerr("Busy!\n");
return -EBUSY;
}
/* Clear all status interrupts */
mpfs_putreg8(priv, COREMMC_ALL_ICR, MPFS_COREMMC_ICR);