diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-30 12:39:15 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-30 12:39:15 -0400 |
commit | 5ffd1a6aaacc25be8cd0770a51ec6d46add3a276 (patch) | |
tree | 5b076c44f8b7ff88dba9a554d7748c6f083c9071 /drivers/media/dvb/frontends/tda1004x.c | |
parent | 0cd43f83d381c4246a08cd775834833d6fd64805 (diff) | |
parent | 8dd86eebc5315910ebfd9f30f1674254308be4b3 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb
* master.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb: (180 commits)
V4L/DVB (4641): Trivial: use lowercase letters in hex subsystem ids
V4L/DVB (4639): Cx88: add autodetection for alternate revision of Leadtek PVR
V4L/DVB (4638): Basic DVB-T and analog TV support for the HVR1300.
V4L/DVB (4637): Add a default method for VIDIOC_G_PARM
V4L/DVB (4635): Extend bttv and saa7134 to check for both AGP and PCI PCI failure case
V4L/DVB (4634): Zr36120: implement pcipci checks
V4L/DVB (4632): Zoran: Implement pcipci failure check
V4L/DVB (4631): Av7110: remove V4L2_CAP_VBI_CAPTURE flag
V4L/DVB (4630): Av7110: FW_LOADER depemdency fixed
V4L/DVB (4629): Saa7134: add card support for Proteus Pro 2309
V4L/DVB (4628): Fix VIDIOC_ENUMSTD ioctl in videodev.c
V4L/DVB (4627): Vivi crashes with mplayer
V4L/DVB (4626): On saa7111/7113, LUMA_CTRL need a different value
V4L/DVB (4624): Tvaudio: Replaced kernel_thread() with kthread_run()
V4L/DVB (4622): Copy-paste bug in videodev.c
V4L/DVB (4620): Fix AGC configuration for MOD3000P-based boards
V4L/DVB (4619): Fixes some I2C dependencies on V4L devices
V4L/DVB (4617): Problem with dibusb-mb.c USB IDs
V4L/DVB (4616): [PATCH] Nebula DigiTV USB RC support
V4L/DVB (4614): Export symbol saa7134_tvaudio_setmute from saa7134 for saa7134-alsa
...
Diffstat (limited to 'drivers/media/dvb/frontends/tda1004x.c')
-rw-r--r-- | drivers/media/dvb/frontends/tda1004x.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/drivers/media/dvb/frontends/tda1004x.c b/drivers/media/dvb/frontends/tda1004x.c index 59a2ed614fca..11e0dca9a2d7 100644 --- a/drivers/media/dvb/frontends/tda1004x.c +++ b/drivers/media/dvb/frontends/tda1004x.c | |||
@@ -579,11 +579,14 @@ static int tda1004x_decode_fec(int tdafec) | |||
579 | return -1; | 579 | return -1; |
580 | } | 580 | } |
581 | 581 | ||
582 | int tda1004x_write_byte(struct dvb_frontend* fe, int reg, int data) | 582 | int tda1004x_write(struct dvb_frontend* fe, u8 *buf, int len) |
583 | { | 583 | { |
584 | struct tda1004x_state* state = fe->demodulator_priv; | 584 | struct tda1004x_state* state = fe->demodulator_priv; |
585 | 585 | ||
586 | return tda1004x_write_byteI(state, reg, data); | 586 | if (len != 2) |
587 | return -EINVAL; | ||
588 | |||
589 | return tda1004x_write_byteI(state, buf[0], buf[1]); | ||
587 | } | 590 | } |
588 | 591 | ||
589 | static int tda10045_init(struct dvb_frontend* fe) | 592 | static int tda10045_init(struct dvb_frontend* fe) |
@@ -1216,6 +1219,7 @@ static struct dvb_frontend_ops tda10045_ops = { | |||
1216 | 1219 | ||
1217 | .init = tda10045_init, | 1220 | .init = tda10045_init, |
1218 | .sleep = tda1004x_sleep, | 1221 | .sleep = tda1004x_sleep, |
1222 | .write = tda1004x_write, | ||
1219 | .i2c_gate_ctrl = tda1004x_i2c_gate_ctrl, | 1223 | .i2c_gate_ctrl = tda1004x_i2c_gate_ctrl, |
1220 | 1224 | ||
1221 | .set_frontend = tda1004x_set_fe, | 1225 | .set_frontend = tda1004x_set_fe, |
@@ -1274,6 +1278,7 @@ static struct dvb_frontend_ops tda10046_ops = { | |||
1274 | 1278 | ||
1275 | .init = tda10046_init, | 1279 | .init = tda10046_init, |
1276 | .sleep = tda1004x_sleep, | 1280 | .sleep = tda1004x_sleep, |
1281 | .write = tda1004x_write, | ||
1277 | .i2c_gate_ctrl = tda1004x_i2c_gate_ctrl, | 1282 | .i2c_gate_ctrl = tda1004x_i2c_gate_ctrl, |
1278 | 1283 | ||
1279 | .set_frontend = tda1004x_set_fe, | 1284 | .set_frontend = tda1004x_set_fe, |
@@ -1323,4 +1328,3 @@ MODULE_LICENSE("GPL"); | |||
1323 | 1328 | ||
1324 | EXPORT_SYMBOL(tda10045_attach); | 1329 | EXPORT_SYMBOL(tda10045_attach); |
1325 | EXPORT_SYMBOL(tda10046_attach); | 1330 | EXPORT_SYMBOL(tda10046_attach); |
1326 | EXPORT_SYMBOL(tda1004x_write_byte); | ||