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

From: Ulf Hansson
Date: Wed Apr 15 2020 - 04:53:06 EST


On Thu, 2 Apr 2020 at 13:54, MichaÅ MirosÅaw <mirq-linux@xxxxxxxxxxxx> wrote:
>
> 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
>

Adrian, whenever you get the time, I would like to get your feedback
on these, especially on patch1->patch3 as those may be targeted for
fixes.

Kind regards
Uffe