mmc: use the generic timeout for cmd6 (SWITCH) provided in the ext_csd
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Tue, 2 Jul 2019 08:53:54 +0000 (10:53 +0200)
committerPeng Fan <peng.fan@nxp.com>
Mon, 15 Jul 2019 02:16:49 +0000 (10:16 +0800)
commit39320c537def08bafa07ef3dd0f519465e56d57d
treeb1dfc3653b52ad31ebc8eea5d52573dc7319e59d
parentcd0b80ec9c97bdd9fb6642671efad8ef3cb33858
mmc: use the generic timeout for cmd6 (SWITCH) provided in the ext_csd

Starting with rev 4.5, the eMMC can define a generic timeout for the
SWITCH command.

Following Linux Kernel code, the timeout also changed from 1000 -> 500

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
drivers/mmc/mmc.c
include/mmc.h