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(-) -- 2.1.4 -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.