diff options
author | Jisheng Zhang <jszhang@marvell.com> | 2014-12-11 14:26:41 +0800 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2015-01-23 17:09:15 +0100 |
commit | 67105c5a94fbff6cc3a47e3ba65bacb3c706c5e6 (patch) | |
tree | 2138482025f36b3834f4ab244260125ae470ae11 /drivers/watchdog/menf21bmc_wdt.c | |
parent | c99d49a964c700ad0bab5c54e2f559fce0487fad (diff) |
i2c: designware: use {readl|writel}_relaxed instead of readl/writel
readl/writel is too expensive especially on Cortex A9 w/ outer L2 cache.
This introduces i2c read/write delays on Marvell BG2/BG2Q SoCs when there
are heavy L2 cache maintenance operations at the same time.
The driver does not perform DMA, so it's safe to use the relaxed version.
From another side, the relaxed io accessor macros are available on all
architectures now, so we can use the relaxed versions instead.
Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/watchdog/menf21bmc_wdt.c')
0 files changed, 0 insertions, 0 deletions