diff options
author | Ryan QIAN <b32804@freescale.com> | 2012-10-09 07:44:34 +0800 |
---|---|---|
committer | Robby Cai <R63905@freescale.com> | 2012-10-10 22:32:24 +0800 |
commit | 888043b51487bb2f23f700159eb2e514b0c9ee88 (patch) | |
tree | 0b9945fe48a89e47379e6874fcec8312b0c16f7a /usr | |
parent | 693366100aa78dc405900b301fe41a9109e6abc0 (diff) |
ENGR00227420 mmc: sdhci: shorten the delay on disabling clk
- change the delay from 10 * HZ to 1 * HZ, though (1 * HZ) might not be the
best, just as a base.
1. Since the request has been moved out of interrupt context, there will be no
more calling enable_clk in interrupt context. So it's not necessary to keep
such a long delay on disabling clock in order to save power.
2. Still keeping the 1*HZ of delay is to avoid frequently enabling/disabling
clock.
eMMC card performance test result with bonnie++:
(512M RAM, 1GB data, 1K buffer)
------------------------------------------------------------------------------
| | 1*HZ | 10 * HZ |
------------------------------------------------------------------------------
| Read | ~24.1MB/s | ~23.9MB/s |
------------------------------------------------------------------------------
| Write | ~10.5MB/s | ~10.5MB/s |
------------------------------------------------------------------------------
WiFi card performance test result with iperf is quite same: ~21Mbps
(AR6003@2.4G, TCP, TCP window size option 1MB both for server and client)
Acked-by: Robby CAI <r63905@freescale.com>
Signed-off-by: Ryan QIAN <b32804@freescale.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions