From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jaehoon Chung Date: Fri, 23 Jan 2015 22:43:07 +0900 Subject: [U-Boot] [PATCH] mmc: dw_mmc: fixed the wrong bit control In-Reply-To: <1421224673-14393-1-git-send-email-jh80.chung@samsung.com> References: <1421224673-14393-1-git-send-email-jh80.chung@samsung.com> Message-ID: <54C24FEB.9030501@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Could you check this patch? Best Regards, Jaehoon Chung On 01/14/2015 05:37 PM, Jaehoon Chung wrote: > If mode is not DDR-mode, then it needs to clear it. > > Signed-off-by: Jaehoon Chung > --- > drivers/mmc/dw_mmc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mmc/dw_mmc.c b/drivers/mmc/dw_mmc.c > index b18c75d..76fa0b0 100644 > --- a/drivers/mmc/dw_mmc.c > +++ b/drivers/mmc/dw_mmc.c > @@ -321,7 +321,7 @@ static void dwmci_set_ios(struct mmc *mmc) > if (mmc->ddr_mode) > regs |= DWMCI_DDR_MODE; > else > - regs &= DWMCI_DDR_MODE; > + regs &= ~DWMCI_DDR_MODE; > > dwmci_writel(host, DWMCI_UHS_REG, regs); > >