mmc: Do not poll using CMD13 when changing timing
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Wed, 6 Feb 2019 10:34:27 +0000 (11:34 +0100)
committerMarek Vasut <marex@denx.de>
Sat, 9 Feb 2019 10:08:40 +0000 (11:08 +0100)
commit6892550c4aea4e9fcbee3cdb6947ac78085981ae
treeb520ab585c5940a7c7b61e394c93e25d9ca2466c
parentcbbe69483ec823105903bac890fab9af087c36c9
mmc: Do not poll using CMD13 when changing timing

When using CMD6 to switch eMMC card timing from HS200/HS400 to HS/legacy,
do not poll for the completion status using CMD13, but rather wait 50mS.

Once the card receives the CMD6 and starts executing it, the bus is in
undefined state until both the card finishes executing the command and
until the controller switches the bus to matching timing configuration.
During this time, it is not possible to transport any commands or data
across the bus, which includes the CMD13.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/mmc.c