]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ENGR00295564 mmc: sdhci-esdhc-imx: no need busfreq for imx6qdl
authorDong Aisheng <b29396@freescale.com>
Fri, 17 Jan 2014 02:23:22 +0000 (10:23 +0800)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:18:01 +0000 (21:18 -0600)
commit4a72202581e2c19653776dfb9be382122890566f
treed6bb3ab2f2925538510319e9bf8219d5c08afd30
parente1421fd2da3cdf861146f32ff2294f8c51099e74
ENGR00295564 mmc: sdhci-esdhc-imx: no need busfreq for imx6qdl

The usdhc of i.MX6Q/DL can work well under low power mode without
request high bus freq. So we do not need request bus freq for i.MX6Q/DL.
It can save power for i.MX6D/DL due to it saves a lot busfreq switch
cost as well as the CPU time runing on high bus freq after switch
during low power mode.

A new flag ESDHC_FLAG_BUSFREQ is added to indicated this requirement.
Currently only i.MX6SL is using it.

Signed-off-by: Dong Aisheng <b29396@freescale.com>
(cherry picked from commit 3b954ce55b56dfce195d65b84913ff3c0fcb9f82)
drivers/mmc/host/sdhci-esdhc-imx.c