From 5020572871a53eb05b4b7ee05cd91c427036d584 Mon Sep 17 00:00:00 2001 From: Jari Nippula Date: Wed, 12 Feb 2025 09:22:15 +0200 Subject: [PATCH] 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. --- arch/risc-v/src/mpfs/mpfs_coremmc.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/arch/risc-v/src/mpfs/mpfs_coremmc.c b/arch/risc-v/src/mpfs/mpfs_coremmc.c index f6038526e9..9868c0e60e 100644 --- a/arch/risc-v/src/mpfs/mpfs_coremmc.c +++ b/arch/risc-v/src/mpfs/mpfs_coremmc.c @@ -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);