summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/b2c2/flexcop-reg.h
diff options
context:
space:
mode:
authorJohannes Stezenbach <js@linuxtv.org>2005-05-16 21:54:18 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-17 07:59:26 -0700
commitbdc7800122da0b6b008aa9bdafc01e32b6a4576a (patch)
treead6496d10897e3595b8f340497c2091015354bc8 /drivers/media/dvb/b2c2/flexcop-reg.h
parentc6ee197ccf4af454638c044706f0ba7ef6c1bb76 (diff)
[PATCH] dvb: flexcop: i2c read fixes
rewrote the i2c-reading-part (no more ack-error ignoring, which was inherited from the skystar2-driver) Signed-off-by: Patrick Boettcher <pb@linuxtv.org> Signed-off-by: Johannes Stezenbach <js@linuxtv.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/media/dvb/b2c2/flexcop-reg.h')
-rw-r--r--drivers/media/dvb/b2c2/flexcop-reg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/dvb/b2c2/flexcop-reg.h b/drivers/media/dvb/b2c2/flexcop-reg.h
index 41835c5280a..5e131be55cb 100644
--- a/drivers/media/dvb/b2c2/flexcop-reg.h
+++ b/drivers/media/dvb/b2c2/flexcop-reg.h
@@ -692,9 +692,10 @@ typedef enum {
wan_ctrl_reg_71c = 0x71c,
} flexcop_ibi_register;
-#define flexcop_set_ibi_value(reg,attr,val) \
+#define flexcop_set_ibi_value(reg,attr,val) { \
flexcop_ibi_value v = fc->read_ibi_reg(fc,reg); \
v.reg.attr = val; \
fc->write_ibi_reg(fc,reg,v); \
+}
#endif