]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit41f6dad1413da1d139728ec80e8f08ff49ab964f
treea49ce9dabbfbc98034afab7bdfd4c0f2b3193934
parentc71d2366a18609e7c5a86050b7c82e53ee712121
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