]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitab66d3121ddb95dfeb5d9d2fb6608ee7d20e48e4
treefa8fd72b96ef88e68ba81fe31b3bdafb022f7777
parent09156329f9f06634635b5a2ff4bb3ea7f7977c56
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