Re: RTS522A fails with "mmc: error -95 doing runtime resume" on Microsoft Surface Go 2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thomas Haschka writes via Kernel.org Bugzilla:

The problem starts already at kernel 6.6, at least at 6.6.52

I also tried to modify: 

drivers/mmc/core/core.c

essentially reverting it back to it's 6.5.5 state:

diff linux-6.5.5-gentoo/drivers/mmc/core/core.c linux-6.6.52-gentoo/drivers/mmc/core/core.c 
554c554,556
<       mmc_wait_for_cmd(host, &cmd, 0);
---
>       mmc_wait_for_cmd(host, &cmd, MMC_CMD_RETRIES);
> 
>       mmc_poll_for_busy(host->card, MMC_CQE_RECOVERY_TIMEOUT, true,
>       MMC_BUSY_IO);
562c564
<       err = mmc_wait_for_cmd(host, &cmd, 0);
---
>       err = mmc_wait_for_cmd(host, &cmd, MMC_CMD_RETRIES);
564a567,569
> 
>       if (err)
>               err = mmc_wait_for_cmd(host, &cmd, MMC_CMD_RETRIES);

doing this I was semi successful, as

mmc0: error -95 doing runtime resume

still showed up, but after around 1 minute of waiting the driver seemed to have recovered and continued working, until failing again a few minutes later. Which causes large long stalls on when trying to use the card.

View: https://bugzilla.kernel.org/show_bug.cgi?id=218821#c4
You can reply to this message to join the discussion.
-- 
Deet-doot-dot, I am a bot.
Kernel.org Bugzilla (bugspray 0.1-dev)





[Index of Archives]     [Linux Memonry Technology]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux