Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 76312
b: refs/heads/master
c: 1b29ced
h: refs/heads/master
v: v3
  • Loading branch information
Michael Krufky authored and Mauro Carvalho Chehab committed Jan 25, 2008
1 parent 95b56ac commit 5f76d8b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4e9154b8a77d0f0f8f06857162823905612a50d7
refs/heads/master: 1b29cedab9e69a6e4c9bba5f1981437b62be7bea
13 changes: 7 additions & 6 deletions trunk/drivers/media/video/tuner-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -567,12 +567,13 @@ static void tuner_status(struct dvb_frontend *fe)
if (tuner_status & TUNER_STATUS_STEREO)
tuner_info("Stereo: yes\n");
}
if ((ops) && (ops->has_signal)) {
tuner_info("Signal strength: %d\n", ops->has_signal(fe));
}
if ((ops) && (ops->is_stereo)) {
tuner_info("Stereo: %s\n", ops->is_stereo(fe) ?
"yes" : "no");
if (ops) {
if (ops->has_signal)
tuner_info("Signal strength: %d\n",
ops->has_signal(fe));
if (ops->is_stereo)
tuner_info("Stereo: %s\n",
ops->is_stereo(fe) ? "yes" : "no");
}
}

Expand Down

0 comments on commit 5f76d8b

Please sign in to comment.