From 513199f49a3a99added7a43336fd5d0bedb03d7f Mon Sep 17 00:00:00 2001 From: Jaehoon Chung Date: Fri, 15 Jan 2010 23:44:54 +0900 Subject: [PATCH] s5pc110: mmc: add comment in mmc_prepare_data() Signed-off-by: Jaehoon Chung --- drivers/mmc/s5pc1xx_mmc.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/s5pc1xx_mmc.c b/drivers/mmc/s5pc1xx_mmc.c index a183f4c..4fc198a 100644 --- a/drivers/mmc/s5pc1xx_mmc.c +++ b/drivers/mmc/s5pc1xx_mmc.c @@ -49,12 +49,22 @@ static void mmc_prepare_data(struct mmc_host *host, struct mmc_data *data) writeb(0xe, &host->reg->timeoutcon); /* TMCLK * 2^27 */ + /* + * NORMAL Interrupt Status Enable Register init + * [5] ENSTABUFRDRDY : Buffer Read Ready Status Enable + * [4] ENSTABUFWTRDY : Buffer write Ready Status Enable + * [1] ENSTASTANSCMPLT : Transfre Complete Status Enable + * [0] ENSTACMDCMPLT : Command Complete Status Enable + */ mask = readl(&host->reg->norintstsen); mask &= ~(0xffff); mask |= (1 << 5) | (1 << 4) | (1 << 1) | (1 << 0); writel(mask, &host->reg->norintstsen); - + /* + * NORMAL Interrupt Signal Enable Register init + * [1] ENSTACMDCMPLT : Transfer Complete Signal Enable + */ mask = readl(&host->reg->norintsigen); mask &= ~(0xffff); mask |= (1 << 1); -- 2.7.4