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:
parent
5cc01bb562
commit
5020572871
1 changed files with 0 additions and 10 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue