summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx18/cx18-gpio.c
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-11-26 08:47:12 +0100
committerJean-Francois Moine <moinejf@free.fr>2008-11-26 08:47:12 +0100
commit891faaaa42567c3609045cff7972d61268b53b8e (patch)
tree96dd8ac4262bb382966109878286aa8388103e05 /linux/drivers/media/video/cx18/cx18-gpio.c
parentd6fee5ac91e4b7196341e6da1708ce5b4481cd79 (diff)
parent1f3f7671e12715041b3b002db1403ce4da682fda (diff)
downloadmediapointer-dvb-s2-891faaaa42567c3609045cff7972d61268b53b8e.tar.gz
mediapointer-dvb-s2-891faaaa42567c3609045cff7972d61268b53b8e.tar.bz2
merge: v4l-dvb
Diffstat (limited to 'linux/drivers/media/video/cx18/cx18-gpio.c')
-rw-r--r--linux/drivers/media/video/cx18/cx18-gpio.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/linux/drivers/media/video/cx18/cx18-gpio.c b/linux/drivers/media/video/cx18/cx18-gpio.c
index 17b7a32fc..1a99329f3 100644
--- a/linux/drivers/media/video/cx18/cx18-gpio.c
+++ b/linux/drivers/media/video/cx18/cx18-gpio.c
@@ -4,6 +4,7 @@
* Derived from ivtv-gpio.c
*
* Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl>
+ * Copyright (C) 2008 Andy Walls <awalls@radix.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -60,8 +61,6 @@ static void gpio_write(struct cx18 *cx)
CX18_REG_GPIO_DIR2, ~dir_hi, dir_hi);
cx18_write_reg_expect(cx, (dir_hi << 16) | val_hi,
CX18_REG_GPIO_OUT2, val_hi, dir_hi);
- if (!cx18_retry_mmio)
- (void) cx18_read_reg(cx, CX18_REG_GPIO_OUT2); /* sync */
}
void cx18_reset_i2c_slaves_gpio(struct cx18 *cx)