diff options
author | Andreas Regel <andreas.regel@gmx.de> | 2012-02-28 12:40:40 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-03-19 10:22:19 -0400 |
commit | 91caad3195e3b622f2a878869aab40d094106d33 (patch) | |
tree | 10f951c8468e029320cf297f37878bf46308d016 | |
parent | 2b49fad59513b07f976c9711b99f93ae74d081c5 (diff) |
[media] stb0899: set FE_HAS_SIGNAL flag in read_status
In stb0899_read_status the FE_HAS_SIGNAL flag was not set in case of a
successful carrier lock. This change fixes that.
Signed-off-by: Andreas Regel <andreas.regel@gmx.de>
Acked-by: Klaus Schmidinger <Klaus.Schmidinger@tvdr.de>
Cc: Manu Abraham <abraham.manu@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/dvb/frontends/stb0899_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/stb0899_drv.c b/drivers/media/dvb/frontends/stb0899_drv.c index 38565beafe23..d38f555a1f15 100644 --- a/drivers/media/dvb/frontends/stb0899_drv.c +++ b/drivers/media/dvb/frontends/stb0899_drv.c | |||
@@ -1071,7 +1071,7 @@ static int stb0899_read_status(struct dvb_frontend *fe, enum fe_status *status) | |||
1071 | reg = stb0899_read_reg(state, STB0899_VSTATUS); | 1071 | reg = stb0899_read_reg(state, STB0899_VSTATUS); |
1072 | if (STB0899_GETFIELD(VSTATUS_LOCKEDVIT, reg)) { | 1072 | if (STB0899_GETFIELD(VSTATUS_LOCKEDVIT, reg)) { |
1073 | dprintk(state->verbose, FE_DEBUG, 1, "--------> FE_HAS_CARRIER | FE_HAS_LOCK"); | 1073 | dprintk(state->verbose, FE_DEBUG, 1, "--------> FE_HAS_CARRIER | FE_HAS_LOCK"); |
1074 | *status |= FE_HAS_CARRIER | FE_HAS_LOCK; | 1074 | *status |= FE_HAS_SIGNAL | FE_HAS_CARRIER | FE_HAS_LOCK; |
1075 | 1075 | ||
1076 | reg = stb0899_read_reg(state, STB0899_PLPARM); | 1076 | reg = stb0899_read_reg(state, STB0899_PLPARM); |
1077 | if (STB0899_GETFIELD(VITCURPUN, reg)) { | 1077 | if (STB0899_GETFIELD(VITCURPUN, reg)) { |