]> git.karo-electronics.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)
committerDong Aisheng <b29396@freescale.com>
Fri, 17 Jan 2014 05:48:11 +0000 (13:48 +0800)
commit85150a834453244a9b882e84e163e303ef437f8b
tree59bf0ae24ccf0614c15e9bea4aa00e213ab5db6f
parente493f08c171fd47f8dc364dcd83afbe790a2cc5b
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 075196777d00bf9507d68a76bf25f6c7e776102f)
drivers/mmc/host/sdhci-esdhc-imx.c