mmc: mediatek: fix got GPD checksum error interrupt when data transfer
authorChaotian Jing <chaotian.jing@mediatek.com>
Tue, 27 Oct 2015 06:24:25 +0000 (14:24 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 27 Oct 2015 09:21:16 +0000 (10:21 +0100)
commit62b0d27af85ef1b1729c2ed675c12020e1fbf10f
treea49ce9dabbfbc98034afab7bdfd4c0f2b3193934
parent6e622947e149fa9fd62e3609aab010935c8e10bd
mmc: mediatek: fix got GPD checksum error interrupt when data transfer

Even if we only use one gpd, we need alloc 2 gpd and make
the gpd->next pointer to the second gpd, or may get gpd checksum
error, this was checked by hardware

Signed-off-by: Chaotian Jing <chaotian.jing@mediatek.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/mtk-sd.c