commit | 3845660bfe98ace7613ba924fc984dd27ba6f80a | [log] [tgz] |
---|---|---|
author | Kever Yang <kever.yang@rock-chips.com> | Fri Jul 22 17:22:50 2016 +0800 |
committer | Simon Glass <sjg@chromium.org> | Sun Jul 31 07:24:20 2016 -0600 |
tree | 215fabaa1e45e5bbc1f8e1766c2c152f63445696 | |
parent | 65d599164e23dfd7d4cc586088789217134721c4 [diff] |
mmc-uclass: correct the device number 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 <kever.yang@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>