Re: [PATCH] SDHC: support command with busy response expecting for TC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Fri, Nov 23 2012, r66093@xxxxxxxxxxxxx wrote:
> From: Jerry Huang <Chang-Ming.Huang@xxxxxxxxxxxxx>
>
> The IP verions older than 2.3 didn't support the command with busy response
> which expect for TC bit set. But after the VVN2.3, eSDHC IP has supported it.
>
> Signed-off-by: Jerry Huang <Chang-Ming.Huang@xxxxxxxxxxxxx>
> CC: Anton Vorontsov <cbouatmailru@xxxxxxxxx>
> CC: Chris Ball <cjb@xxxxxxxxxx>
> ---
>  drivers/mmc/host/sdhci-of-esdhc.c |    3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/drivers/mmc/host/sdhci-of-esdhc.c b/drivers/mmc/host/sdhci-of-esdhc.c
> index 63d219f..cfabc43 100644
> --- a/drivers/mmc/host/sdhci-of-esdhc.c
> +++ b/drivers/mmc/host/sdhci-of-esdhc.c
> @@ -177,6 +177,9 @@ static void esdhc_of_platform_init(struct sdhci_host *host)
>  	vvn = (vvn & SDHCI_VENDOR_VER_MASK) >> SDHCI_VENDOR_VER_SHIFT;
>  	if (vvn == VENDOR_V_22)
>  		host->quirks2 |= SDHCI_QUIRK2_HOST_NO_CMD23;
> +
> +	if (vvn > VENDOR_V_22)
> +		host->quirks &= ~SDHCI_QUIRK_NO_BUSY_IRQ;
>  }
>  
>  static struct sdhci_ops sdhci_esdhc_ops = {

Thanks, pushed to mmc-next for 3.8.

- Chris.
-- 
Chris Ball   <cjb@xxxxxxxxxx>   <http://printf.net/>
One Laptop Per Child
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux