summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/stb0899_priv.h
diff options
context:
space:
mode:
authorManu Abraham <abraham.manu@gmail.com>2008-02-03 19:37:02 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-29 17:53:23 -0200
commit40e8ce3dba8e9437ed48c88c268615dc0a4bebb2 (patch)
treeb5588068dfd4ff2e7a16c420f98110a5be6ce711 /drivers/media/dvb/frontends/stb0899_priv.h
parented3d150eacfa87087f705a908a2586bdec5bf9b7 (diff)
V4L/DVB (9457): Optimization, Fix a Bug
* cut down some I/O operations by disabling "disable gate" * budget_av was left with the gate open, thereby more susceptible to RF interference due to I/O operations Signed-off-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/stb0899_priv.h')
-rw-r--r--drivers/media/dvb/frontends/stb0899_priv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/stb0899_priv.h b/drivers/media/dvb/frontends/stb0899_priv.h
index 8a7c4ee087d..755269979d1 100644
--- a/drivers/media/dvb/frontends/stb0899_priv.h
+++ b/drivers/media/dvb/frontends/stb0899_priv.h
@@ -253,6 +253,8 @@ extern int stb0899_write_s2reg(struct stb0899_state *state,
u16 stb0899_reg_offset,
u32 stb0899_data);
+extern int stb0899_i2c_gate_ctrl(struct dvb_frontend *fe, int enable);
+
#define STB0899_READ_S2REG(DEVICE, REG) (_stb0899_read_s2reg(state, DEVICE, STB0899_BASE_##REG, STB0899_OFF0_##REG))
//#define STB0899_WRITE_S2REG(DEVICE, REG, DATA) (_stb0899_write_s2reg(state, DEVICE, STB0899_BASE_##REG, STB0899_OFF0_##REG, DATA))