]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mmc: core: fix regression: set default clock gating delay to 0
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 23 Feb 2012 10:22:29 +0000 (11:22 +0100)
committerChris Ball <cjb@laptop.org>
Sun, 4 Mar 2012 17:18:40 +0000 (12:18 -0500)
commitc84f15aed29d89995fd50ef37e19c7b88019d78f
tree865ac9b487b99105efad7eedfa1a6b96776e8fd7
parent24e1511f675b97a76488b89017a40909be731b63
mmc: core: fix regression: set default clock gating delay to 0

A recent commit "mmc: core: Use delayed work in clock gating framework"
(597dd9d79cfbbb1) introduced a default 200ms delay before clock gating
actually takes place.  This means that every time an MMC interface
becomes idle it first stays on for 200ms before gating its clock. This
leads to increased power consumption and is therefore a clear regression.
This patch restores the original behaviour by setting the default delay
to 0. Users prioritising throughput over power efficiency can still
modify the delay via sysfs.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/host.c