Re: [U-Boot] [PATCH v2] mmc-uclass: correct the device number

2016-07-19 Thread Jaehoon Chung
On 07/19/2016 06:28 PM, Kever Yang wrote: > Not like the mmc-legacy which the devnum starts from 1, it starts from 0 > in mmc-uclass, so the device number should be (devnum + 1) in get_mmc_num(). > > Signed-off-by: Kever Yang > --- > > Changes in v2: > - add comment for get_mmc_num() in mmc.h >

[U-Boot] [PATCH v2] mmc-uclass: correct the device number

2016-07-19 Thread Kever Yang
Not like the mmc-legacy which the devnum starts from 1, it starts from 0 in mmc-uclass, so the device number should be (devnum + 1) in get_mmc_num(). Signed-off-by: Kever Yang --- Changes in v2: - add comment for get_mmc_num() in mmc.h - update mmc_get_next_devnum() drivers/mmc/mmc-uclass.c |