diff options
author | Andy Green <andy@openmoko.com> | 2008-11-19 17:11:07 +0000 |
---|---|---|
committer | Andy Green <agreen@pads.home.warmcat.com> | 2008-11-19 17:11:07 +0000 |
commit | 49a2c2b6f311666686744215c2a67442f0ed6550 (patch) | |
tree | 564fd46e2f013381c1669d1648b747153e3ed16b /drivers/mfd/glamo/glamo-core.h | |
parent | 2e878765946c093159e57c26dce0be278233502d (diff) |
fix-glamofb-remove-soft-delays.patch
The delay versions of the access to registers were based on a misunderstanding of
the Glamo docs: it can force nWAIT differently depending on the access type. Therefore
we don't need to take special care about delays on CPU side.
Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'drivers/mfd/glamo/glamo-core.h')
-rw-r--r-- | drivers/mfd/glamo/glamo-core.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/mfd/glamo/glamo-core.h b/drivers/mfd/glamo/glamo-core.h index 4c52bc44eaf..58aa72ec6bc 100644 --- a/drivers/mfd/glamo/glamo-core.h +++ b/drivers/mfd/glamo/glamo-core.h @@ -80,16 +80,6 @@ struct glamo_mci_pdata { }; - -static inline void glamo_reg_access_delay(void) -{ - int n; - - for (n = 0; n != 2; n++) - nop(); -} - - int glamo_engine_enable(struct glamo_core *glamo, enum glamo_engine engine); int glamo_engine_disable(struct glamo_core *glamo, enum glamo_engine engine); void glamo_engine_reset(struct glamo_core *glamo, enum glamo_engine engine); |