diff options
author | Shawn Lin <shawn.lin@rock-chips.com> | 2016-02-02 14:11:25 +0800 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2016-02-29 11:03:11 +0100 |
commit | 8a629d26f02351539dd1760c75656065b881cd9a (patch) | |
tree | 93c57647f17e72bfb773e240146a5aa76e70eee1 /Documentation/devicetree/bindings/mmc | |
parent | 345efee3541f5931fbbd0f0bcebe9baa3ff2f5c2 (diff) | |
download | blackbird-op-linux-8a629d26f02351539dd1760c75656065b881cd9a.tar.gz blackbird-op-linux-8a629d26f02351539dd1760c75656065b881cd9a.zip |
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>
Diffstat (limited to 'Documentation/devicetree/bindings/mmc')
0 files changed, 0 insertions, 0 deletions