summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dvb-usb/gl861.c
AgeCommit message (Collapse)Author
2008-07-08v4l-dvb: remove support for kernels < 2.6.16Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Phase 4 removes the compatibility support for kernels < 2.6.16. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-06-10gl861: replace non critical msleep(0) with msleep(1) to be on the safe sideAntti Palosaari
From: Antti Palosaari <crope@iki.fi> - change msleep(0) to msleep(1) Signed-off-by: Antti Palosaari <crope@iki.fi>
2008-05-29gl861: coding style fixesAntti Palosaari
From: Antti Palosaari <crope@iki.fi> - coding style fixes raised by checkpatch Signed-off-by: Antti Palosaari <crope@iki.fi>
2008-05-29gl861: remove useless identify_stateAntti Palosaari
From: Antti Palosaari <crope@iki.fi> - remove useless identify_state - device is always warm Signed-off-by: Antti Palosaari <crope@iki.fi>
2008-05-29gl861: sleep a little to avoid I2C errorsAntti Palosaari
From: Antti Palosaari <crope@iki.fi> - add little sleep to avoid I2C errors arising on faster CPUs Signed-off-by: Antti Palosaari <crope@iki.fi>
2008-04-09Adds selectable adapter numbers as per module optionMichael Krufky
From: Janne Grunau <janne-dvb@grunau.be> The adapter_nr module options can be used to allocate static adapter numbers on a driver level. It avoids problems with changing DVB apapter numbers after warm/cold boot or device unplugging and repluging. Each driver holds DVB_MAX_ADAPTER long array of the preferred order of adapter numbers. options dvb-usb-dib0700 adapter_nr=7,6,5,4,3,2,1,0 would result in a reversed allocation of adapter numbers. With adapter_nr=2,5 it tries first to get adapter number 2 and 5. If both are already in use it will allocate the lowest free adapter number. Signed-off-by: Janne Grunau <janne-dvb@grunau.be> Acked-by: Hermann Pitton <hermann.pitton@arcor.de> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-11-06Move check before lockMauro Carvalho Chehab
From: Roel Kluin <12o3l@tiscali.nl> Signed-off-by: Roel Kluin <12o3l@tiscali.nl> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> CC: Antti Palosaari <crope@iki.fi> CC: Carl Lundqvist <comabug@gmail.com> CC: Aapo Tahkola <aet@rasterburn.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-08add support for A-LINK DTU dvb-t adapterAapo Tahkola
From: Aapo Tahkola <aet@rasterburn.org> Support for A-LINK DTU(m) is not included in this patch. Acked-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Aapo Tahkola <aet@rasterburn.org>
2007-03-05fix i2c implementation for gl861 and au6610Michael Krufky
From: Aapo Tahkola <aet@rasterburn.org> - r/w bit is not part of the i2c address Signed-off-by: Aapo Tahkola <aet@rasterburn.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-02-21make dvb_usb_gl861_debug staticMauro Carvalho Chehab
From: Adrian Bunk <bunk@stusta.de> Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2007-01-27qt1010: use i2c_gate_ctrl where appropriateMichael Krufky
From: Antti Palosaari <crope@iki.fi> This patch adds calls to i2c_gate_ctrl in the qt1010 dvb tuner module, while removing the temporary hack in au6610 and gl861. Tested successfully against fi-Oulu frequencies with MSI Megasky 580 GL861 and Sigmatek DVB-110 AU6610. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-01-21whitespace / 80-column cleanupsMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2007-01-21dvb: add new qt1010 tuner moduleMichael Krufky
From: Antti Palosaari <crope@iki.fi> gl861: (MSI Megasky) - hack for enable ZL10353 / QT1010 I2C gate - use new QT1010 module instead of old code au6610: (Sigmatek DVB-110) - hack for enable ZL10353 / QT1010 I2C gate - use new QT1010 module instead of old code Tested successfully with au6610 and gl861 devices against fi-Yllas frequencies. Now it locks perfectly with both devices. There is a "hack" to enable probable i2c gate in zl10535 demodulator. QT1010 doesn't respond to any i2c messages before we write 0x1a to demodulator register 0x62. In my understanding this should be fixed to demodulator code. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-10-09gl861: use parallel_tsMichael Krufky
From: Carl Lundqvist <comabug@gmail.com> - use parallel_ts - Now this driver works. - correct typo in MODULE_VERSION Signed-off-by: Carl Lundqvist <comabug@gmail.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-10-09gl861: remove unneeded declaration of .generic_bulk_ctrl_endpointMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> generic_bulk_ctrl_endpoint isn't being used in this device, so this is not needed here. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-10-07gl861: correct address of the bulk endpointMichael Krufky
From: Jan Nijs <jan.nijs@scarlet.be> The megasky 580 based on gl861 has three endpoints: - 0x81 BULK/ISOC IN MPEG2 TS - 0x83 INT IN remote control receiver - 0x02 BULK OUT bulk control endpoint It doesn't look like the bulk endpoint is used, but better to have the correct one in the config. Signed-off-by: Jan Nijs <jan.nijs@scarlet.be> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-10-07gl861: correct oops when loading moduleMichael Krufky
From: Jan Nijs <jan.nijs@scarlet.be> This patch moves the DVB_USB_IS_AN_I2C_ADAPTER flag from the adapter properties to the device properties. Without this patch I get an OOPS when the gl861 driver tries to access any registers. Signed-off-by: Jan Nijs <jan.nijs@scarlet.be> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-10-03gl861: whitespace cleanupsMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-10-03gl861: remove NULL entry from gl861_propertiesMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-10-03gl861: use qt1010_tuner_attach function from qt1010.hMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> The gl861_tuner_attach function is not specific to this device. This patch removes gl861_tuner_attach, and replaces it with qt1010_tuner_attach from the qt1010 header file. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-10-03gl861: hide disabled code from upstream patch systemMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> enclose disabled code inside an #if 0 block, instead of /* comments */ Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-10-03gl861: fix driver_nameMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> rename driver_name from "gl861" to "dvb_usb_gl861" Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-10-03gl861: fix MODULE_AUTHORMichael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> The author's email address is already in the MODULE_AUTHOR field. This patch adds his name as well. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-10-03dvb-usb: rename USB_PID_MSI_MEGASKY55801 to USB_PID_MSI_MEGASKY580_55801Michael Krufky
From: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
2006-10-03dvb-usb: initial support for MSI Mega Sky 580 DVB-T based on GL861Michael Krufky
From: Carl Lundqvist <comabug@gmail.com> This patch adds support for MSI Mega Sky 580 / GL861 DVB-T USB2.0 Notes: Except for the 2 lines added to zl10353.c, zl10353_reset_attach needs to be changed. If I read the code correctly setting parallel_ts will take care of the 3rd byte, but the 2nd byte needs to be 0x0b instead of 0x03 too. I guess these changes needs to be done only for this device, not sure how to do that. The zl10353 changes have been split apart from this patch, into the next patch, soon to follow. Signed-off-by: Carl Lundqvist <comabug@gmail.com> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>