summaryrefslogtreecommitdiff
path: root/linux/drivers/media/common/saa7146_i2c.c
AgeCommit message (Collapse)Author
2004-11-21- prefix IER_DISABLE and IER_ENABLE with SAA7146_Johannes Stezenbach
- add SAA7146_ISR_CLEAR - use those consistently in the ttpci driver
2004-11-08- make needlessly global code staticMichael Hunold
- remove unused code Thanks to Adrian Bunk <bunk@stusta.de>
2004-08-11- Kernel Janitor: uses msleep() instead of my_wait() to guarantee the time ↵Michael Hunold
delay. Removes definition of my_wait(). Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
2004-06-21- compilation fix for analog 2.4 driversMichael Hunold
2004-06-21- Replace generic saa7146 i2c name by card specific name, suggested by Uli ↵Michael Hunold
Luckas <luckas@musoft.de>
2004-04-06- introduce new class variable, sets the i2c adapter class for 2.6 (unused ↵Michael Hunold
for 2.4)
2003-11-26- i2c timeout fix by Gerd KnorrMichael Hunold
2003-11-25introduced flag SAA7146_I2C_SHORT_DELAY to speed up I2C accessOliver Endriss
2003-11-14- sanitize enabling of video input pins and i2c pinsMichael Hunold
- use some default values, so the hardware is always in a sane state
2003-10-16- fix usage of i2c name field (has been changed again, see this for moreMichael Hunold
details: http://linus.bkbits.net:8080/linux-2.5/cset@1.1123.4.1?nav=index.html|src/.|src/drivers|src/drivers/media|src/drivers/media/common|related/drivers/media/common/saa7146_i2c.c
2003-10-14Include 2.6 kernel janitor cleanups (eliminate #include duplication, shiftMichael Hunold
includes around) -- I don't care much about this...
2003-07-17Fix build for 2.4.Michael Hunold
2003-07-17[V4L] - fix static build for hexium_gemini and hexium_orion drivers (Thanks ↵Michael Hunold
to Adrian Bunk <bunk@fs.tum.de> for reporting this) [V4L] - set debug verbosity to 0 for hexium_gemini and hexium_orion drivers [V4L] - make hexium_gemini and hexium_orion drivers depdend on i2c module [V4L] - make saa7146 module depend on hexium_gemini and hexium_orion drivers [V4L] - let the saa7146 i2c bus report itself as I2C_ADAP_CLASS_TV_ANALOG
2003-06-18When I submitted the last patchset for the 2.5 kernel series,Michael Hunold
Alan Cox reformatted the code to follow his coding style when he fixed the merge bugs. This patch now introduces these coding style changes, so that we don't wipe out his changes with the next patchset.
2003-06-16Fix to the jerking problem with tda10045hHolger Waechtler
2003-06-14i2c fixes and build fixes. Must have been brain-amputated yesterday...Holger Waechtler
2003-05-28I removed all "analog" drivers from the main CVS repository and moved themMichael Hunold
to a separate "analog-2.4" directory. Main reasons: - the drivers don't have anything to do with dvb 8-) - the drivers are already in the kernel (besides the "Hexium" driver) and don't change that much any more - the analog drivers rely on the i2c subsystem, which was heavily modified between 2.4 and 2.5. When making a new DVB patchset I have to work around these differences every time, which is very annoying
2003-05-19First try to use pci_consistent_dma() throughout the whole saa7146Michael Hunold
driver subsystem.
2003-04-28Compile fixes against 2.5.68.Michael Hunold
- add some ifdef magic into i2c drivers (mxb/analog drivers only) - shuffle around includes, so that "dvb_compat.h" is included after all other include files - fix a warning in saa7146 i2c code
2003-04-22- removed the compatibility crap around KBUILD_MODNAME from all drivers,Michael Hunold
use KBUILD_BASENAME for 2.4 instead ­ some changes to the i2c core to make it work with both 2.4 and late 2.5 kernels (not done yet -- only interesting for analog drivers) - add MODULE_DEVICE_TABLE to all drivers, so that pci "hotplug" can detect the devices automatically. Alan Cox says, that we should use this to load the firmware (not done yet) - fix the long standing "insmod/rmmod with multiple budget cards" bug -- it was a double kfree() call...
2003-03-20This is the beginning of some modifications to get the newMichael Hunold
"dvb-kernel" tree into shape for direct inclusion into the 2.5.x kernel.
2003-03-19- optimize the i2c retry-address error problem by distinguishing betweenMichael Hunold
analog tv cards and dvb cards. (see source comments for further informations)
2003-03-19wait between i2c retries and don't bail out on adress errors,Holger Waechtler
patch conributed by Andrew de Quincey <adq_dvb@lidskialf.net>
2003-01-13add a timeout to saa7146_i2c_writeout() to prevent endless loopJohannes Stezenbach
2003-01-10- Fix broken i2c irq transfer, due to Holger's changesMichael Hunold
- clean up the mxb driver and it's helper modules (rename the structures, add GPL license to the appropriate files, c99 initialisers) - fix 2.5.55 "module insertion causes bug in kobject.o" issue - fixed missing exported symbols in budget-core
2003-01-09return meaningful error valuesHolger Waechtler
2003-01-05After all, using the i2c irq wasn't a good idea. After long hours ofMichael Hunold
testing why the !#+?§"1 TS stream stops and "debi oops" messages appear, I found out that this is caused by the i2c irq handler. Don't ask me why, but returning to the old code solved this mystery. Apparently, the additional i2c interrupts caused some timing problems or the saa7146 is simply too f*cked up. I left the code in however, it works for the analog MXB driver, so the extension should decide if it should be used. Removed some additional debug messages, which were commented out anyway.
2002-12-28- added timeout handling for i2c_writeout(); it seems that theJohannes Stezenbach
SAA7146 does not generate an I2C error irq when we are probing for a non-existant device (so there's neither an ACK nor a NACK at the end of the address phase) - don't request the I2C error irq anymore, since it isn't currently being handled; we just wait for the /BUSY irq or timeout; if there were errors during transmission they will still be detected from the status register after the /BUSY irq - added some more debug to hw_interrupt() TODO: I think SAA7146_I2C_TIMEOUT is too large; 10ms should do?
2002-12-25As promised, I changed the "retry-loop" to the style of the "old" saa7146Michael Hunold
driver. I doesn't do any harm for my analog drivers and apparently fixes some bugs related to some frontends/tuners, who expect certain start/stop cycles. Please check if these tuners work now...
2002-12-22Changed i2c_writeout() and the irq handler to use a waitqueueMichael Hunold
instead of busy waiting for an i2c transaction to finish. Left the old method in there. if you need it (or if i screwed up), set "use_i2c_irq" to zero in saa7146_i2c.c to get the old behaviour.
2002-12-20Removed the dependecy to i2c-core from saa7146 and av7110,Michael Hunold
changed mxb to (un)register the i2c adapter by itself
2002-12-20More compile fixes to allow a flawless static build, changed theMichael Hunold
READMEs accordingly, compile fixes for the mxb driver.
2002-12-17Misc. build fixes (beautification, remove some unnecessary printks)Michael Hunold
for the new saa7146 core, the mxb driver and the saa7111 driver.
2002-12-17Add the new saa7146 driver core to media/common.Michael Hunold