diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2007-01-21 13:57:48 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-02-21 10:35:30 -0500 |
commit | 38d0629fd80464247290450d8641890d6f94b6fa (patch) | |
tree | 40e8d92b55800803565501db5ed6bc0fbc2682d1 /drivers/media/dvb/dvb-usb/gl861.c | |
parent | d4130b18f7ae5adfe2fd5761e31803554d090aa9 (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.c | 11 |
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 200ba13d1d19..d62edb533d00 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 = { | |||
123 | static int gl861_tuner_attach(struct dvb_usb_adapter *adap) | 123 | static int gl861_tuner_attach(struct dvb_usb_adapter *adap) |
124 | { | 124 | { |
125 | /* TODO FIXME; probably I2C gate. | 125 | /* TODO FIXME; probably I2C gate. |
126 | QT1010 tuner does not respond before we write 0x1a to ZL10353 demodulator | 126 | QT1010 tuner does not respond before we write 0x1a to ZL10353 demod |
127 | register 0x62. This ought to be done somewhere in demodulator initialization. | 127 | register 0x62. This ought to be done somewhere in demod initialization. |
128 | This solution is temporary hack. */ | 128 | This solution is temporary hack. */ |
129 | |||
129 | u8 buf[2] = { 0x62, 0x1a }; | 130 | u8 buf[2] = { 0x62, 0x1a }; |
130 | struct i2c_msg msg = { | 131 | struct i2c_msg msg = { .addr = gl861_zl10353_config.demod_address, |
131 | .addr = gl861_zl10353_config.demod_address, .flags = 0, .buf = buf, .len = 2 | 132 | .flags = 0, .buf = buf, .len = 2 }; |
132 | }; | 133 | |
133 | if (i2c_transfer(&adap->dev->i2c_adap, &msg, 1) != 1) { | 134 | if (i2c_transfer(&adap->dev->i2c_adap, &msg, 1) != 1) { |
134 | printk(KERN_WARNING "gl861 tuner attach failed\n"); | 135 | printk(KERN_WARNING "gl861 tuner attach failed\n"); |
135 | return -EREMOTEIO; | 136 | return -EREMOTEIO; |