Re: [PATCH] mmc: sdhci: Setting the host->mrq to NULL before executing tuning

2013-11-26 Thread Chris Ball
Hi Chuansheng, On Tue, Nov 05 2013, Chuansheng Liu wrote: > In function sdhci_request(), it is possible to do the tuning execution > like below: > > sdhci_request() { > spin_lock_irqsave(&host->lock, flags); > host->mrq = mrq; > ... > spin_unlock_irqrestore(&host->lock, fla

[PATCH] mmc: sdhci: Setting the host->mrq to NULL before executing tuning

2013-11-04 Thread Chuansheng Liu
In function sdhci_request(), it is possible to do the tuning execution like below: sdhci_request() { spin_lock_irqsave(&host->lock, flags); host->mrq = mrq; ... spin_unlock_irqrestore(&host->lock, flags); <=== Here it is possible one pending finish_tasklet get run