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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Aug 2020 06:23:41 +0000 (08:23 +0200)
commitd24e654785e66d6b0a64914802abaf62817062d2
treeb05d67067c64e9b97e8525c5dbc4d3632443763e
parent3b0bcd64c4000409b5a8db52df3b77ee35092fd5
mmc: sdhci-pci-o2micro: Bug fix for O2 host controller Seabird1

[ Upstream commit cdd2b769789ae1a030e1a26f6c37c5833cabcb34 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/mmc/host/sdhci-pci-o2micro.c