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

2018-07-16 Thread 方洪杰
> On 11 July 2018 at 05:00, Hongjie Fang wrote: > > 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 f

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

2018-07-16 Thread Ulf Hansson
On 11 July 2018 at 05:00, Hongjie Fang wrote: > 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.

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

2018-07-16 Thread 方洪杰
> 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 > --- > dr

[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/mmc.