diff options
author | Andy Walls <awalls@radix.net> | 2008-11-16 21:33:41 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-30 06:38:09 -0500 |
commit | 3f75c6161f28e6a17c547daf552c1127c805c5e7 (patch) | |
tree | 1e4db5013c05946832221bfdca743720091f6582 /drivers/media/video/cx18/cx18-gpio.c | |
parent | 72a4f8081af1c53a1673c173ce0fdd85c4b7d403 (diff) |
V4L/DVB (9724): cx18: Streamline cx18-io[ch] wrappers and enforce MMIO retry strategy
cx18: Streamline cx18-io[ch] wrappers and enforce MMIO retry strategy so that
write retries always occur and read retries never occur (as they never help).
Remove MMIO statistics logging to speed up MMIO accesses. Deprecate & ignore
retry_mmio and mmio_ndelay module parameters, to essentially force
retry_mmio=1 and mmio_ndelay=0.
Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx18/cx18-gpio.c')
-rw-r--r-- | drivers/media/video/cx18/cx18-gpio.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/video/cx18/cx18-gpio.c b/drivers/media/video/cx18/cx18-gpio.c index 17b7a32fcc31..a1625c8e0179 100644 --- a/drivers/media/video/cx18/cx18-gpio.c +++ b/drivers/media/video/cx18/cx18-gpio.c | |||
@@ -60,8 +60,6 @@ static void gpio_write(struct cx18 *cx) | |||
60 | CX18_REG_GPIO_DIR2, ~dir_hi, dir_hi); | 60 | CX18_REG_GPIO_DIR2, ~dir_hi, dir_hi); |
61 | cx18_write_reg_expect(cx, (dir_hi << 16) | val_hi, | 61 | cx18_write_reg_expect(cx, (dir_hi << 16) | val_hi, |
62 | CX18_REG_GPIO_OUT2, val_hi, dir_hi); | 62 | CX18_REG_GPIO_OUT2, val_hi, dir_hi); |
63 | if (!cx18_retry_mmio) | ||
64 | (void) cx18_read_reg(cx, CX18_REG_GPIO_OUT2); /* sync */ | ||
65 | } | 63 | } |
66 | 64 | ||
67 | void cx18_reset_i2c_slaves_gpio(struct cx18 *cx) | 65 | void cx18_reset_i2c_slaves_gpio(struct cx18 *cx) |