[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAPDyKFrL+ykvw85SiLQojF9PnYoYzraOOvkS8qg5w-LL7xPvNA@mail.gmail.com>
Date: Wed, 13 Jan 2021 12:25:17 +0100
From: Ulf Hansson <ulf.hansson@...aro.org>
To: 吳昊澄 Ricky <ricky_wu@...ltek.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Rui Feng <rui_feng@...lsil.com.cn>,
Rui Miguel Silva <rmfrfs@...il.com>,
Doug Anderson <dianders@...omium.org>,
Lee Jones <lee.jones@...aro.org>,
"linux-mmc@...r.kernel.org" <linux-mmc@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/2] mmc: rtsx: Add MMC_CAP2_NO_SDIO flag
On Wed, 30 Dec 2020 at 10:04, <ricky_wu@...ltek.com> wrote:
>
> From: Ricky Wu <ricky_wu@...ltek.com>
>
> Added flag MMC_CAP2_NO_SDIO to mmc->caps2
> Card Reader not support SDIO
>
> Signed-off-by: Ricky Wu <ricky_wu@...ltek.com>
Applied for next, thanks!
Kind regards
Uffe
> ---
> drivers/mmc/host/rtsx_pci_sdmmc.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/host/rtsx_pci_sdmmc.c b/drivers/mmc/host/rtsx_pci_sdmmc.c
> index d21b99962b36..6a8b0282f272 100644
> --- a/drivers/mmc/host/rtsx_pci_sdmmc.c
> +++ b/drivers/mmc/host/rtsx_pci_sdmmc.c
> @@ -1427,7 +1427,8 @@ static void realtek_init_host(struct realtek_pci_sdmmc *host)
> MMC_CAP_UHS_SDR12 | MMC_CAP_UHS_SDR25;
> if (pcr->rtd3_en)
> mmc->caps = mmc->caps | MMC_CAP_AGGRESSIVE_PM;
> - mmc->caps2 = MMC_CAP2_NO_PRESCAN_POWERUP | MMC_CAP2_FULL_PWR_CYCLE;
> + mmc->caps2 = MMC_CAP2_NO_PRESCAN_POWERUP | MMC_CAP2_FULL_PWR_CYCLE |
> + MMC_CAP2_NO_SDIO;
> mmc->max_current_330 = 400;
> mmc->max_current_180 = 800;
> mmc->ops = &realtek_pci_sdmmc_ops;
> --
> 2.17.1
>
Powered by blists - more mailing lists