mmc: sdhci: Fix O2 Host PLL and card detect issue
authorErnest Zhang(WH) <ernest.zhang@bayhubtech.com>
Fri, 4 Jan 2019 02:26:13 +0000 (02:26 +0000)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 25 Feb 2019 07:40:58 +0000 (08:40 +0100)
commit69d91ed1469b49b4d3b5a9ac40e4abc453698dc2
treeab027817c414ae2797eb0f2c5ba3029802b4ee29
parent328be8bed213196f71a362632416703ceb5b2850
mmc: sdhci: Fix O2 Host PLL and card detect issue

1. O2 Host Controller PLL lock status is not in compliance with
CLOCK_CONTROL register bit 1
2. O2 Host Controller card detect function only work when PLL is
enabled and locked

Signed-off-by: Ernest Zhang <ernest.zhang@bayhubtech.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pci-o2micro.c
drivers/mmc/host/sdhci.h