[PATCH 0/7] SDHCI clock handling fixes and cleanups

From: MichaÅ MirosÅaw
Date: Thu Apr 02 2020 - 07:54:58 EST


This patch set combines a few of code improvements for SDHCI clock handling.
Besides small fixes, most value comes from simplifying the code, so it's
easier to understand.

MichaÅ MirosÅaw (7):
mmc: sdhci: fix base clock usage in preset value
mmc: sdhci: fix programmable clock config from preset value
mmc: sdhci: fix SDHCI_QUIRK2_CLOCK_DIV_ZERO_BROKEN
mmc: sdhci: move SDHCI_QUIRK2_CLOCK_DIV_ZERO_BROKEN frequency limit
mmc: sdhci: simplify clock frequency calculation
mmc: sdhci: squash v2/v3+ clock calculation differences
mmc: sdhci: respect non-zero div quirk in programmable clock mode

drivers/mmc/host/sdhci-of-arasan.c | 7 +-
drivers/mmc/host/sdhci.c | 126 +++++++++++++----------------
drivers/mmc/host/sdhci.h | 4 +-
3 files changed, 64 insertions(+), 73 deletions(-)

--
2.20.1