]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhci-pci-o2micro: Bug fix for O2 host controller Seabird1
authorshirley her <shirley.her@bayhubtech.com>
Tue, 21 Jul 2020 01:17:33 +0000 (18:17 -0700)
committerUlf Hansson <ulf.hansson@linaro.org>
Fri, 24 Jul 2020 10:30:36 +0000 (12:30 +0200)
commitac401aea77c5d9f3aa8f6a8f36be184ede91f289
tree3e01824aac2d367b945c1cc70c62ab40fea485da
parent9508d32a5ac1c78cc8e933e6d32560334d6a831c
mmc: sdhci-pci-o2micro: Bug fix for O2 host controller Seabird1

To fix support for the O2 host controller Seabird1, set the quirk
SDHCI_QUIRK2_PRESET_VALUE_BROKEN and the capability bit MMC_CAP2_NO_SDIO.
Moreover, assign the ->get_cd() callback.

Signed-off-by: Shirley Her <shirley.her@bayhubtech.com>
Link: https://lore.kernel.org/r/20200721011733.8416-1-shirley.her@bayhubtech.com
[Ulf: Updated the commit message]
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pci-o2micro.c