projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e4a31f
)
[media] tuner-core: fix tuner_resume: use t->mode instead of t->type
author
Hans Verkuil
<hans.verkuil@cisco.com>
Mon, 13 Jun 2011 12:21:56 +0000
(09:21 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Thu, 7 Jul 2011 18:00:57 +0000
(15:00 -0300)
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
patch
|
blob
|
history
diff --git
a/drivers/media/video/tuner-core.c
b/drivers/media/video/tuner-core.c
index
4879704
..
1843fc2
100644
(file)
--- a/
drivers/media/video/tuner-core.c
+++ b/
drivers/media/video/tuner-core.c
@@
-1223,7
+1223,7
@@
static int tuner_resume(struct i2c_client *c)
tuner_dbg("resume\n");
if (!t->standby)
- if (set_mode(t, t->
typ
e) == 0)
+ if (set_mode(t, t->
mod
e) == 0)
set_freq(t, 0);
return 0;