]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
mmc: sdhci: fix mmc busy timeout handling
authorLothar Waßmann <LW@KARO-electronics.de>
Wed, 8 Mar 2017 14:04:35 +0000 (15:04 +0100)
committerLothar Waßmann <LW@KARO-electronics.de>
Mon, 13 Mar 2017 15:36:05 +0000 (16:36 +0100)
commit1b0a082c4ccc5b8bc592fb803b5455ebfe328805
tree5b5da20ad4741661ce6722852e4451c1395fb864
parent6c46f79291e9ee9cdcf656462eee37ee361d703c
mmc: sdhci: fix mmc busy timeout handling

With eMMC there is a good chance, that the mmc device remains busy for
extended periods of time after certain operations.
The current approach to handle this was to increase the timeout for
all commands up to a maximum.

Rather than this, do an extended wait for !busy in the relevant case
only, not affecting the general mmc cmd busy timeout.
drivers/mmc/mmc.c
drivers/mmc/sdhci.c