Skip to content

SDHCI clock handling fixes and cleanups

Michał Mirosław linux-mmc lkml 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest5 patches 11 repliesIn review
  2. v35 patches 0 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5mmc: sdhci: fix base clock usage in preset valuedrivers/mmc/host/sdhci.c+0 -11 reply
2/5mmc: sdhci: always obey programmable clock config in preset valuedrivers/mmc/host/sdhci.c+5 -23 replies
3/5mmc: sdhci: fix SDHCI_QUIRK2_CLOCK_DIV_ZERO_BROKENdrivers/mmc/host/sdhci.c+5 -52 replies
4/5mmc: sdhci: move SDHCI_QUIRK2_CLOCK_DIV_ZERO_BROKEN frequency limitdrivers/mmc/host/sdhci-of-arasan.c drivers/mmc/host/sdhci-of-dwcmshc.c drivers/mmc/host/sdhci.c+10 -123 replies
5/5mmc: sdhci: simplify v2/v3+ clock calculationdrivers/mmc/host/sdhci.c drivers/mmc/host/sdhci.h+58 -702 replies

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by.

PatchAl CooperAdrian Hunter
1/5A-b A-b
2/5
3/5A-b
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [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(-)
Signature · 1 line
2.30.2