RE: [PATCH v3 2/3]set timeout control reg for such SDHCI host

2010-12-05 Thread Dong, Chuanxiao
.@laptop.org; > ar...@linux.intel.com; a...@linux.intel.com; a...@linux-foundation.org; > adrian.hun...@nokia.com; prak...@marvell.com > Subject: Re: [PATCH v3 2/3]set timeout control reg for such SDHCI host > > On Fri, Dec 03, 2010 at 10:38:59AM +0800, Dong, Chuanxiao wrote: > > >

Re: [PATCH v3 2/3]set timeout control reg for such SDHCI host

2010-12-04 Thread Wolfram Sang
On Fri, Dec 03, 2010 at 10:38:59AM +0800, Dong, Chuanxiao wrote: > > > > On Thu, Dec 02, 2010 at 07:26:13PM +0800, Chuanxiao Dong wrote: > > > > > + if (host->quirks & SDHCI_QUIRK_FORCE_ERASE_SINGLE) { > > > + /* Set the timeout to be the maximum value */ > > > + if (cmd->erase_t

RE: [PATCH v3 2/3]set timeout control reg for such SDHCI host

2010-12-02 Thread Dong, Chuanxiao
> > On Thu, Dec 02, 2010 at 07:26:13PM +0800, Chuanxiao Dong wrote: > > > + if (host->quirks & SDHCI_QUIRK_FORCE_ERASE_SINGLE) { > > + /* Set the timeout to be the maximum value */ > > + if (cmd->erase_timeout) > > + sdhci_writeb(host, 0xE, SDHCI_TIMEOUT_C

Re: [PATCH v3 2/3]set timeout control reg for such SDHCI host

2010-12-02 Thread Wolfram Sang
On Thu, Dec 02, 2010 at 07:26:13PM +0800, Chuanxiao Dong wrote: > + if (host->quirks & SDHCI_QUIRK_FORCE_ERASE_SINGLE) { > + /* Set the timeout to be the maximum value */ > + if (cmd->erase_timeout) > + sdhci_writeb(host, 0xE, SDHCI_TIMEOUT_CONTROL);

[PATCH v3 2/3]set timeout control reg for such SDHCI host

2010-12-02 Thread Chuanxiao Dong
>From b1cc696f0fbb0c48f024359977624a862ece93f4 Mon Sep 17 00:00:00 2001 From: Chuanxiao Dong Date: Thu, 2 Dec 2010 15:53:37 +0800 Subject: [PATCH 2/3] set timeout control reg for SDHCI host when sending erase cmd Since if erasing needs longer time than the timeout host can wait, host will genera