diff options
author | Holger Waechtler <devnull@localhost> | 2003-11-29 04:32:22 +0000 |
---|---|---|
committer | Holger Waechtler <devnull@localhost> | 2003-11-29 04:32:22 +0000 |
commit | 23caf64033c6fb17b95219f3fd008ab328e06a10 (patch) | |
tree | 01c3d6d44bfa5daac05d7f7c1d7751afa286f3c1 /linux/drivers/media/dvb/frontends | |
parent | 44adebb1e1c72486931b52b5e34b71a70254fc10 (diff) | |
download | mediapointer-dvb-s2-23caf64033c6fb17b95219f3fd008ab328e06a10.tar.gz mediapointer-dvb-s2-23caf64033c6fb17b95219f3fd008ab328e06a10.tar.bz2 |
set FE_HAS_LOCK only when all low-order bits are valid
Diffstat (limited to 'linux/drivers/media/dvb/frontends')
-rw-r--r-- | linux/drivers/media/dvb/frontends/alps_tdmb7.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/alps_tdmb7.c b/linux/drivers/media/dvb/frontends/alps_tdmb7.c index a7f11c305..2efad1eee 100644 --- a/linux/drivers/media/dvb/frontends/alps_tdmb7.c +++ b/linux/drivers/media/dvb/frontends/alps_tdmb7.c @@ -333,7 +333,7 @@ static int tdmb7_ioctl (struct dvb_frontend *fe, unsigned int cmd, void *arg) if (sync & 0x10) *status |= FE_HAS_SYNC; - if (sync & 0x10) + if (*status == 0x0f) *status |= FE_HAS_LOCK; break; |