]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] tuner-core: fix tuner_resume: use t->mode instead of t->type
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 13 Jun 2011 12:21:56 +0000 (09:21 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 7 Jul 2011 18:00:57 +0000 (15:00 -0300)
commit9bf0ef060ebae452c07cf5b0616247780740bb50
tree4de9e27dfcb98fa5d1e29ad1d97516f0d3b1b299
parent4e4a31fb95d88518180517bae3098a23ebde9f9c
[media] tuner-core: fix tuner_resume: use t->mode instead of t->type

set_mode is called with t->type, which is the tuner type. Instead, use
t->mode which is the actual tuner mode (i.e. radio vs tv).

Cc: stable@kernel.org
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/tuner-core.c