[PATCH V5] mmc: core: improve reasonableness of bus width setting for HS400es

2018-07-30 Thread Hongjie Fang
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: Hongjie Fang --- drivers/mmc/core

[PATCH V4] mmc: core: improve reasonableness of bus width setting for HS400es

2018-07-17 Thread Hongjie Fang
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: Hongjie Fang --- drivers/mmc/core

[PATCH V3] mmc: core: improve reasonableness of bus width setting for HS400es

2018-07-16 Thread Hongjie Fang
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: Hongjie Fang --- drivers/mmc/core

[PATCH V2] mmc: core: improve reasonableness of bus width setting for HS400es

2018-07-10 Thread Hongjie Fang
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: Hongjie Fang --- drivers/mmc/core

[PATCH] mmc: core: improve rationality of bus width setting for HS400es

2018-07-09 Thread Hongjie Fang
mmc_select_hs400es() calls mmc_select_bus_width() which will try to set 4bit transfer mode if fail to set 8bit mode. The problem is that the bus width should not be set to 4bit in HS400es mode. Signed-off-by: Hongjie Fang --- drivers/mmc/core/mmc.c | 23 +-- 1 file changed