summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/dvb-usb/gl861.c
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2007-01-21 15:57:48 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-02-21 13:35:30 -0200
commit38d0629fd80464247290450d8641890d6f94b6fa (patch)
tree40e8d92b55800803565501db5ed6bc0fbc2682d1 /drivers/media/dvb/dvb-usb/gl861.c
parentd4130b18f7ae5adfe2fd5761e31803554d090aa9 (diff)
V4L/DVB (5239): Whitespace / 80-column cleanups
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/gl861.c')
-rw-r--r--drivers/media/dvb/dvb-usb/gl861.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/media/dvb/dvb-usb/gl861.c b/drivers/media/dvb/dvb-usb/gl861.c
index 200ba13d1d1..d62edb533d0 100644
--- a/drivers/media/dvb/dvb-usb/gl861.c
+++ b/drivers/media/dvb/dvb-usb/gl861.c
@@ -123,13 +123,14 @@ static struct qt1010_config gl861_qt1010_config = {
static int gl861_tuner_attach(struct dvb_usb_adapter *adap)
{
/* TODO FIXME; probably I2C gate.
- QT1010 tuner does not respond before we write 0x1a to ZL10353 demodulator
- register 0x62. This ought to be done somewhere in demodulator initialization.
+ QT1010 tuner does not respond before we write 0x1a to ZL10353 demod
+ register 0x62. This ought to be done somewhere in demod initialization.
This solution is temporary hack. */
+
u8 buf[2] = { 0x62, 0x1a };
- struct i2c_msg msg = {
- .addr = gl861_zl10353_config.demod_address, .flags = 0, .buf = buf, .len = 2
- };
+ struct i2c_msg msg = { .addr = gl861_zl10353_config.demod_address,
+ .flags = 0, .buf = buf, .len = 2 };
+
if (i2c_transfer(&adap->dev->i2c_adap, &msg, 1) != 1) {
printk(KERN_WARNING "gl861 tuner attach failed\n");
return -EREMOTEIO;