commit | 8a629d26f02351539dd1760c75656065b881cd9a | [log] [tgz] |
---|---|---|
author | Shawn Lin <shawn.lin@rock-chips.com> | Tue Feb 02 14:11:25 2016 +0800 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Mon Feb 29 11:03:11 2016 +0100 |
tree | 93c57647f17e72bfb773e240146a5aa76e70eee1 | |
parent | 345efee3541f5931fbbd0f0bcebe9baa3ff2f5c2 [diff] |
mmc: dw_mmc: fix num_slots setting This patch make num_slots to 1 if pdata->num_slot is not defined. Meanwhile, we need to make sure num_slots should not larger that the supported slots Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>