mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-30 08:02:30 +00:00
V4L/DVB (10162): tuner-simple: Fix tuner type set message
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
4a87d7c4f2
commit
0b82c5d674
1 changed files with 6 additions and 1 deletions
|
@ -1059,7 +1059,12 @@ struct dvb_frontend *simple_tuner_attach(struct dvb_frontend *fe,
|
|||
memcpy(&fe->ops.tuner_ops, &simple_tuner_ops,
|
||||
sizeof(struct dvb_tuner_ops));
|
||||
|
||||
tuner_info("type set to %d (%s)\n", type, priv->tun->name);
|
||||
if (type != priv->type)
|
||||
tuner_warn("couldn't set type to %d. Using %d (%s) instead\n",
|
||||
type, priv->type, priv->tun->name);
|
||||
else
|
||||
tuner_info("type set to %d (%s)\n",
|
||||
priv->type, priv->tun->name);
|
||||
|
||||
if ((debug) || ((atv_input[priv->nr] > 0) ||
|
||||
(dtv_input[priv->nr] > 0))) {
|
||||
|
|
Loading…
Reference in a new issue