Messages in this thread | | | Date | Sun, 25 Jul 2021 11:20:45 +0200 | From | Michał Mirosław <> | Subject | [PATCH v4 0/5] SDHCI clock handling fixes and cleanups |
| |
This patch set combines a few of code improvements for SDHCI clock handling. First three are small fixes to the code, next two make the clock calculation code simpler.
Michał Mirosław (5): mmc: sdhci: fix base clock usage in preset value mmc: sdhci: always obey programmable clock config in 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 v2/v3+ clock calculation
drivers/mmc/host/sdhci-of-arasan.c | 11 +-- drivers/mmc/host/sdhci-of-dwcmshc.c | 8 +- drivers/mmc/host/sdhci.c | 123 +++++++++++++--------------- drivers/mmc/host/sdhci.h | 4 +- 4 files changed, 67 insertions(+), 79 deletions(-)
-- 2.30.2
| |