Skip to content

misc MMC fixes

Michal Suchanek linux-arm-kernel linux-mmc lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 of 3 patches 11 repliesIn review

2 of 3 patches are in this archive. The cover letter announces 3.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/3mmc: dw_mmc: simplify the SDMMC_CLKEN_LOW_PWR logicdrivers/mmc/host/dw_mmc.c+15 -186 replies
3/3mmc: sunxi: use controller automatic clock gating.drivers/mmc/host/sunxi-mmc.c+6 -15 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchHans de Goede
SeriesA-b
2/3
3/3

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

Read the v1 thread

Cover letter [PATCH 0/3] misc MMC fixes

Hello,

The first sunxi patch from this series was rejected on the basis that this clock gating functionality is obsolete and should be eventually removed.

However, the function still exists in the current code and until removed it should be corrected to work properly. Turning off the clock may be used for something other than the clock gating feature, too.

The next sunxi patch is for automatic clock gating on the controller which should replace the in-kernel mmc clock gating we have now.

I looked at dw_mmc for how this is supposed to work and it turns out it's not exactly clean there either.

Thanks

Michal

Michal Suchanek (3):
mmc: sunxi: fix timeout in sunxi_mmc_oclk_onoff
mmc: dw_mmc: simplify the SDMMC_CLKEN_LOW_PWR logic
mmc: sunxi: use controller automatic clock gating.

 drivers/mmc/host/dw_mmc.c    | 33 +++++++++++++++------------------
 drivers/mmc/host/sunxi-mmc.c | 29 +++++++++++++++++++++++++----
 2 files changed, 40 insertions(+), 22 deletions(-)
Signature · 1 line
2.1.4