From 49a2c2b6f311666686744215c2a67442f0ed6550 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Wed, 19 Nov 2008 17:11:07 +0000 Subject: 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 --- drivers/mfd/glamo/glamo-fb.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'drivers/mfd/glamo/glamo-fb.c') 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); } -- cgit v1.2.3