From: root Date: Thu, 17 Mar 2011 04:52:39 +0000 (+0800) Subject: sd/mmc:修改编译出错 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=cad9ff7c1d872ba25652cc9071dfc4c9eac817ef;p=firefly-linux-kernel-4.4.55.git sd/mmc:修改编译出错 --- diff --git a/drivers/mmc/host/rk29_sdmmc.c b/drivers/mmc/host/rk29_sdmmc.c index 2e8698a719df..2af2f30095d1 100755 --- a/drivers/mmc/host/rk29_sdmmc.c +++ b/drivers/mmc/host/rk29_sdmmc.c @@ -1160,8 +1160,8 @@ static irqreturn_t rk29_sdmmc_interrupt(int irq, void *dev_id) mask = rk29_sdmmc_read(host->regs, SDMMC_MINTSTS);// read only mask reg pending = status & mask; - if (!pending) - break; +// if (!pending) +// break; if(pending & SDMMC_INT_CD) { rk29_sdmmc_write(host->regs, SDMMC_RINTSTS, SDMMC_INT_CD); // clear sd detect int present = rk29_sdmmc_get_cd(host->mmc);