From: Adrian Hunter <adrian.hunter@intel.com>
To: Azhar Shaikh <azhar.shaikh@intel.com>,
ulf.hansson@linaro.org, linux-mmc@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 1/2] mmc: sdhci-acpi: Set MMC_CAP_AGGRESSIVE_PM for BYT-related Intel controllers
Date: Thu, 30 Mar 2017 10:41:19 +0300 [thread overview]
Message-ID: <7b084ccd-8862-3430-0842-de496535d7e2@intel.com> (raw)
In-Reply-To: <1490811393-109654-1-git-send-email-azhar.shaikh@intel.com>
On 29/03/17 21:16, Azhar Shaikh wrote:
> Set MMC_CAP_AGGRESSIVE_PM for BYT-related Intel SD card
> controllers.
>
> Signed-off-by: Azhar Shaikh <azhar.shaikh@intel.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
> ---
> Changes in v2:
> - Rebased the patch on top of 'next' branch.
> - No code change.
>
> drivers/mmc/host/sdhci-acpi.c | 6 ++----
> 1 file changed, 2 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/mmc/host/sdhci-acpi.c b/drivers/mmc/host/sdhci-acpi.c
> index 665c5f3..c6a9a1b 100644
> --- a/drivers/mmc/host/sdhci-acpi.c
> +++ b/drivers/mmc/host/sdhci-acpi.c
> @@ -263,10 +263,8 @@ static int sdhci_acpi_sd_probe_slot(struct platform_device *pdev,
>
> /* Platform specific code during sd probe slot goes here */
>
> - if (hid && !strcmp(hid, "80865ACA")) {
> + if (hid && !strcmp(hid, "80865ACA"))
> host->mmc_host_ops.get_cd = bxt_get_cd;
> - host->mmc->caps |= MMC_CAP_AGGRESSIVE_PM;
> - }
>
> return 0;
> }
> @@ -302,7 +300,7 @@ static int sdhci_acpi_sd_probe_slot(struct platform_device *pdev,
> .quirks = SDHCI_QUIRK_NO_ENDATTR_IN_NOPDESC,
> .quirks2 = SDHCI_QUIRK2_CARD_ON_NEEDS_BUS_ON |
> SDHCI_QUIRK2_STOP_WITH_TC,
> - .caps = MMC_CAP_WAIT_WHILE_BUSY,
> + .caps = MMC_CAP_WAIT_WHILE_BUSY | MMC_CAP_AGGRESSIVE_PM,
> .probe_slot = sdhci_acpi_sd_probe_slot,
> };
>
>
next prev parent reply other threads:[~2017-03-30 7:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-28 18:08 [PATCH 1/2] mmc: sdhci-acpi: Set MMC_CAP_AGGRESSIVE_PM for BYT-related Intel controllers Azhar Shaikh
2017-03-28 18:08 ` [PATCH 2/2] mmc: sdhci-pci: " Azhar Shaikh
2017-03-29 18:16 ` [PATCH v2 1/2] mmc: sdhci-acpi: " Azhar Shaikh
2017-03-29 18:16 ` [PATCH v2 2/2] mmc: sdhci-pci: " Azhar Shaikh
2017-03-30 7:41 ` Adrian Hunter
2017-03-30 19:31 ` Ulf Hansson
2017-03-30 7:41 ` Adrian Hunter [this message]
2017-03-30 19:31 ` [PATCH v2 1/2] mmc: sdhci-acpi: " Ulf Hansson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7b084ccd-8862-3430-0842-de496535d7e2@intel.com \
--to=adrian.hunter@intel.com \
--cc=azhar.shaikh@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=ulf.hansson@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox