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>
This commit is contained in:
Ernest Zhang(WH) 2019-01-04 02:26:13 +00:00 • committed by Ulf Hansson
commit 69d91ed146
2 changed files with 131 additions and 3 deletions