[<prev] [next>] [day] [month] [year] [list]
Message-ID: <fc572647-9a51-ee38-c1a7-71f62c1edad0@intel.com>
Date: Tue, 4 Aug 2020 08:29:03 +0300
From: Adrian Hunter <adrian.hunter@...el.com>
To: "Shirley Her (SC)" <shirley.her@...hubtech.com>,
"ulf.hansson@...aro.org" <ulf.hansson@...aro.org>,
"linux-mmc@...r.kernel.org" <linux-mmc@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH V1 1/2] mmc: sdhci-pci-o2micro: Bug fix for O2 host
controller Seabird1
Sorry, I have been away for a while, but I will look at it shortly.
On 3/08/20 10:23 pm, Shirley Her (SC) wrote:
> Hi, Adrian:
>
> Do you have chance to review the patched code?
>
> Thanks,
> Shirley
>
> ----------------------------------------------------------------------------
> *From:* Shirley Her (SC) <shirley.her@...hubtech.com>
> *Sent:* Monday, July 20, 2020 6:18 PM
> *To:* adrian.hunter@...el.com <adrian.hunter@...el.com>;
> ulf.hansson@...aro.org <ulf.hansson@...aro.org>; linux-mmc@...r.kernel.org
> <linux-mmc@...r.kernel.org>; linux-kernel@...r.kernel.org
> <linux-kernel@...r.kernel.org>
> *Cc:* Shaper Liu (WH) <shaper.liu@...hubtech.com>; Chevron Li (WH)
> <chevron.li@...hubtech.com>; Xiaoguang Yu (WH)
> <xiaoguang.yu@...hubtech.com>; Max Huang (SC) <max.huang@...hubtech.com>;
> Shirley Her (SC) <shirley.her@...hubtech.com>
> *Subject:* [PATCH V1 1/2] mmc: sdhci-pci-o2micro: Bug fix for O2 host
> controller Seabird1
>
> Add bug fix for O2 host controller Seabird1
>
> Signed-off-by: Shirley Her <shirley.her@...hubtech.com>
> ---
> change in V1:
> 1. Add quriks2 and mmc->caps2 for Seabird1
> 2. Add get_cd support for Seabird1
> ---
> drivers/mmc/host/sdhci-pci-o2micro.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/drivers/mmc/host/sdhci-pci-o2micro.c
> b/drivers/mmc/host/sdhci-pci-o2micro.c
> index e2a846885902..ed3c605fcf0c 100644
> --- a/drivers/mmc/host/sdhci-pci-o2micro.c
> +++ b/drivers/mmc/host/sdhci-pci-o2micro.c
> @@ -561,6 +561,12 @@ static int sdhci_pci_o2_probe_slot(struct
> sdhci_pci_slot *slot)
> slot->host->mmc_host_ops.get_cd = sdhci_o2_get_cd;
> }
>
> + if (chip->pdev->device == PCI_DEVICE_ID_O2_SEABIRD1) {
> + slot->host->mmc_host_ops.get_cd = sdhci_o2_get_cd;
> + host->mmc->caps2 |= MMC_CAP2_NO_SDIO;
> + host->quirks2 |= SDHCI_QUIRK2_PRESET_VALUE_BROKEN;
> + }
> +
> host->mmc_host_ops.execute_tuning = sdhci_o2_execute_tuning;
>
> if (chip->pdev->device != PCI_DEVICE_ID_O2_FUJIN2)
> --
> 2.25.1
>
Powered by blists - more mailing lists