diff options
| author | Marek Vasut <[email protected]> | 2022-07-15 01:58:24 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-08-10 13:38:29 -0400 |
| commit | 2349ecffec5fc91d3c8964725865132c73d68f15 (patch) | |
| tree | a1a3b5c3c248bc6e88f4dbbf4ab2adac46a8c76c /scripts | |
| parent | 3dd4e916324efc825a7ee8e412f5cf1ded839021 (diff) | |
mmc: Do not send status of send_status is false
Commit 44645f87de5 ("mmc: Fix mmc_switch excessive timeout") introduced
a side effect where CMD13 SEND_STATUS is issued in case mmc_wait_dat0()
does not return -ENOSYS and $send_status is not set. This happens on all
hardware which does implement .mmc_wait_dat0 callback, e.g. i.MX8M .
This leads to lengthy timeout before booting OS in case of eMMC in one
of the HS200/HS400 modes, since the card cannot respond to CMD13 while
downgrading from HS200/HS400 to regular HS mode.
Fix this by adding the missing conditional.
Fixes: 44645f87de5 ("mmc: Fix mmc_switch excessive timeout")
Signed-off-by: Marek Vasut <[email protected]>
Cc: Jaehoon Chung <[email protected]>
Cc: Kirill Kapranov <[email protected]>
Cc: Marek BehĂșn <[email protected]>
Cc: Pantelis Antoniou <[email protected]>
Cc: Ye Li <[email protected]>
Reviewed-by: Jaehoon Chung <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
