Skip to content
Commit 7f38abf2 authored by Hongjie Fang's avatar Hongjie Fang Committed by Ulf Hansson
Browse files

mmc: core: improve reasonableness of bus width setting for HS400es



mmc_select_hs400es() calls mmc_select_bus_width() which will continue
to set 4bit transfer mode if fail to set 8bit mode. The bus width
should not be set to 4bit in HS400es.

When fail to set 8bit mode, need return error directly for HS400es.

Signed-off-by: default avatarHongjie Fang <hongjiefang@asrmicro.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent e401bfda
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment