diff options
author | Michael Hunold <devnull@localhost> | 2003-01-05 21:49:06 +0000 |
---|---|---|
committer | Michael Hunold <devnull@localhost> | 2003-01-05 21:49:06 +0000 |
commit | 23198c11bc5d221469b73ce5def50b7d4dbbff81 (patch) | |
tree | 3806b08353aec9686d90bbcfb227fb1fe4a61785 /linux/drivers/media/common/saa7146.h | |
parent | a721eb6c53f0402661b3549ec99701c15714beca (diff) | |
download | mediapointer-dvb-s2-23198c11bc5d221469b73ce5def50b7d4dbbff81.tar.gz mediapointer-dvb-s2-23198c11bc5d221469b73ce5def50b7d4dbbff81.tar.bz2 |
After all, using the i2c irq wasn't a good idea. After long hours of
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.
Diffstat (limited to 'linux/drivers/media/common/saa7146.h')
-rw-r--r-- | linux/drivers/media/common/saa7146.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/linux/drivers/media/common/saa7146.h b/linux/drivers/media/common/saa7146.h index b5ee99d64..39ecdda33 100644 --- a/linux/drivers/media/common/saa7146.h +++ b/linux/drivers/media/common/saa7146.h @@ -73,6 +73,9 @@ struct saa7146_pgtable { struct saa7146_extension { char name[32]; /* name of the device */ +#define SAA7146_USE_I2C_IRQ 0x1 + int flags; + struct saa7146_ext_vv *ext_vv_data; struct list_head item; @@ -80,8 +83,7 @@ struct saa7146_extension /* pairs of subvendor and subdevice ids for supported devices, last entry 0xffff, 0xfff */ struct saa7146_sub_info *devices; - - struct module* module; + struct module *module; #if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,51) void (*inc_use)(struct saa7146_dev*); |