diff mbox

mmc: sdhci-acpi: Intel SDIO has broken card detect

Message ID 1396526319-614-1-git-send-email-adrian.hunter@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Adrian Hunter April 3, 2014, 11:58 a.m. UTC
Intel SDIO has broken card detect so add a quirk
to reflect that.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
---
 drivers/mmc/host/sdhci-acpi.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Adrian Hunter April 7, 2014, 5:58 a.m. UTC | #1
Hi Chris

Can this one go in 3.15?

Regards
Adrian


On 03.04.2014 14:58, Adrian Hunter wrote:
> Intel SDIO has broken card detect so add a quirk
> to reflect that.
> 
> Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
> ---
>  drivers/mmc/host/sdhci-acpi.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/mmc/host/sdhci-acpi.c b/drivers/mmc/host/sdhci-acpi.c
> index 0d372f0..ebb3f39 100644
> --- a/drivers/mmc/host/sdhci-acpi.c
> +++ b/drivers/mmc/host/sdhci-acpi.c
> @@ -122,6 +122,7 @@ static const struct sdhci_acpi_slot sdhci_acpi_slot_int_emmc = {
>  };
>  
>  static const struct sdhci_acpi_slot sdhci_acpi_slot_int_sdio = {
> +	.quirks  = SDHCI_QUIRK_BROKEN_CARD_DETECTION,
>  	.quirks2 = SDHCI_QUIRK2_HOST_OFF_CARD_ON,
>  	.caps    = MMC_CAP_NONREMOVABLE | MMC_CAP_POWER_OFF_CARD,
>  	.flags   = SDHCI_ACPI_RUNTIME_PM,
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Ulf Hansson April 7, 2014, 7:42 a.m. UTC | #2
On 3 April 2014 13:58, Adrian Hunter <adrian.hunter@intel.com> wrote:
> Intel SDIO has broken card detect so add a quirk
> to reflect that.
>
> Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>

Acked-by: Ulf Hansson <ulf.hansson@linaro.org>

> ---
>  drivers/mmc/host/sdhci-acpi.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/mmc/host/sdhci-acpi.c b/drivers/mmc/host/sdhci-acpi.c
> index 0d372f0..ebb3f39 100644
> --- a/drivers/mmc/host/sdhci-acpi.c
> +++ b/drivers/mmc/host/sdhci-acpi.c
> @@ -122,6 +122,7 @@ static const struct sdhci_acpi_slot sdhci_acpi_slot_int_emmc = {
>  };
>
>  static const struct sdhci_acpi_slot sdhci_acpi_slot_int_sdio = {
> +       .quirks  = SDHCI_QUIRK_BROKEN_CARD_DETECTION,
>         .quirks2 = SDHCI_QUIRK2_HOST_OFF_CARD_ON,
>         .caps    = MMC_CAP_NONREMOVABLE | MMC_CAP_POWER_OFF_CARD,
>         .flags   = SDHCI_ACPI_RUNTIME_PM,
> --
> 1.8.3.2
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Chris Ball April 8, 2014, 1:29 a.m. UTC | #3
Hi Adrian,

On Mon, Apr 07 2014, Ulf Hansson wrote:
> On 3 April 2014 13:58, Adrian Hunter <adrian.hunter@intel.com> wrote:
>> Intel SDIO has broken card detect so add a quirk
>> to reflect that.
>>
>> Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
>
> Acked-by: Ulf Hansson <ulf.hansson@linaro.org>

Pushed to mmc-next for 3.15, thanks.

- Chris.
diff mbox

Patch

diff --git a/drivers/mmc/host/sdhci-acpi.c b/drivers/mmc/host/sdhci-acpi.c
index 0d372f0..ebb3f39 100644
--- a/drivers/mmc/host/sdhci-acpi.c
+++ b/drivers/mmc/host/sdhci-acpi.c
@@ -122,6 +122,7 @@  static const struct sdhci_acpi_slot sdhci_acpi_slot_int_emmc = {
 };
 
 static const struct sdhci_acpi_slot sdhci_acpi_slot_int_sdio = {
+	.quirks  = SDHCI_QUIRK_BROKEN_CARD_DETECTION,
 	.quirks2 = SDHCI_QUIRK2_HOST_OFF_CARD_ON,
 	.caps    = MMC_CAP_NONREMOVABLE | MMC_CAP_POWER_OFF_CARD,
 	.flags   = SDHCI_ACPI_RUNTIME_PM,