mmc: dw_mmc: init desc in dw_mci_idmac_init
authorZhangfei Gao <zhangfei.gao@linaro.org>
Thu, 30 Apr 2015 14:16:28 +0000 (22:16 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 8 May 2015 06:55:14 +0000 (08:55 +0200)
commit4b2447248325ac7b1654d362c0e9f050f79e0ffe
treefa8fd72b96ef88e68ba81fe31b3bdafb022f7777
parent4e93b9a6abc0d028daf3c8a00cb77b679d8a4df4
mmc: dw_mmc: init desc in dw_mci_idmac_init

Set 0 to des1 in 32bit case.
Otherwise the random value of des1 will be used in
dw_mci_translate_sglist: IDMAC_SET_BUFFER1_SIZE(desc, length)

Signed-off-by: Fei Wang <w.f@huawei.com>
Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/dw_mmc.c