diff options
Diffstat (limited to 'linux')
-rw-r--r-- | linux/drivers/media/dvb/frontends/mt352.c | 4 | ||||
-rw-r--r-- | linux/include/media/saa7146.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/dvb/frontends/mt352.c b/linux/drivers/media/dvb/frontends/mt352.c index e27591035..ed8ee98a4 100644 --- a/linux/drivers/media/dvb/frontends/mt352.c +++ b/linux/drivers/media/dvb/frontends/mt352.c @@ -405,9 +405,9 @@ static int mt352_read_status(struct dvb_frontend* fe, fe_status_t* status) if (r & (1 << 6)) *status |= FE_HAS_SIGNAL; - if ((status & (FE_HAS_CARRIER | FE_HAS_VITERBI | FE_HAS_SYNC)) != + if ((*status & (FE_HAS_CARRIER | FE_HAS_VITERBI | FE_HAS_SYNC)) != (FE_HAS_CARRIER | FE_HAS_VITERBI | FE_HAS_SYNC)) - status &= ~FE_HAS_LOCK; + *status &= ~FE_HAS_LOCK; return 0; } diff --git a/linux/include/media/saa7146.h b/linux/include/media/saa7146.h index f683b6c08..c44184cc9 100644 --- a/linux/include/media/saa7146.h +++ b/linux/include/media/saa7146.h @@ -180,7 +180,7 @@ void saa7146_pgtable_free(struct pci_dev *pci, struct saa7146_pgtable *pt); int saa7146_pgtable_build_single(struct pci_dev *pci, struct saa7146_pgtable *pt, struct scatterlist *list, int length ); char *saa7146_vmalloc_build_pgtable(struct pci_dev *pci, long length, struct saa7146_pgtable *pt); void saa7146_setgpio(struct saa7146_dev *dev, int port, u32 data); -int saa7146_wait_for_debi_done(struct saa7146_dev *dev); +int saa7146_wait_for_debi_done(struct saa7146_dev *dev, int busyloop); /* some memory sizes */ #define SAA7146_I2C_MEM ( 1*PAGE_SIZE) |