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-fb.c | |
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-fb.c')
-rw-r--r-- | drivers/mfd/glamo/glamo-fb.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mfd/glamo/glamo-fb.c b/drivers/mfd/glamo/glamo-fb.c index a73402d29eb..62b79f30d66 100644 --- a/drivers/mfd/glamo/glamo-fb.c +++ b/drivers/mfd/glamo/glamo-fb.c @@ -86,14 +86,12 @@ static struct platform_device glamo_spi_dev = { static int reg_read(struct glamofb_handle *glamo, u_int16_t reg) { - glamo_reg_access_delay(); return readw(glamo->base + reg); } static void reg_write(struct glamofb_handle *glamo, u_int16_t reg, u_int16_t val) { - glamo_reg_access_delay(); writew(val, glamo->base + reg); } |