diff options
author | Kenneth Aafloy <devnull@localhost> | 2004-11-12 21:13:35 +0000 |
---|---|---|
committer | Kenneth Aafloy <devnull@localhost> | 2004-11-12 21:13:35 +0000 |
commit | af66c5e5cb5df3f54660c671a2245ff48ead44a9 (patch) | |
tree | 91151946fc92623c1f5d4aab5d101337f4d1688f /linux/drivers/media/dvb/ttpci/av7110_hw.c | |
parent | ff658eeca7c55c346e6f21c3d19c5002eaec9545 (diff) | |
download | mediapointer-dvb-s2-af66c5e5cb5df3f54660c671a2245ff48ead44a9.tar.gz mediapointer-dvb-s2-af66c5e5cb5df3f54660c671a2245ff48ead44a9.tar.bz2 |
- fix atomic scheduling
Diffstat (limited to 'linux/drivers/media/dvb/ttpci/av7110_hw.c')
-rw-r--r-- | linux/drivers/media/dvb/ttpci/av7110_hw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/ttpci/av7110_hw.c b/linux/drivers/media/dvb/ttpci/av7110_hw.c index f80b8f633..213721e28 100644 --- a/linux/drivers/media/dvb/ttpci/av7110_hw.c +++ b/linux/drivers/media/dvb/ttpci/av7110_hw.c @@ -55,7 +55,7 @@ int av7110_debiwrite(struct av7110 *av7110, u32 config, if (count <= 0 || count > 32764) return -1; - if (saa7146_wait_for_debi_done(av7110->dev, 1) < 0) + if (saa7146_wait_for_debi_done(av7110->dev, 0) < 0) return -1; saa7146_write(dev, DEBI_CONFIG, config); if (count <= 4) /* immediate transfer */ @@ -74,7 +74,7 @@ u32 av7110_debiread(struct av7110 *av7110, u32 config, int addr, int count) if (count > 32764 || count <= 0) return 0; - if (saa7146_wait_for_debi_done(av7110->dev, 1) < 0) + if (saa7146_wait_for_debi_done(av7110->dev, 0) < 0) return 0; saa7146_write(dev, DEBI_AD, av7110->debi_bus); saa7146_write(dev, DEBI_COMMAND, (count << 17) | 0x10000 | (addr & 0xffff)); |