This is a note to let you know that I've just added the patch titled
[media] tuner-core: fix tuner_resume: use t->mode instead of t->type
to the 2.6.39-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
tuner-core-fix-tuner_resume-use-t-mode-instead-of-t-type.patch
and it can be found in the queue-2.6.39 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From 9bf0ef060ebae452c07cf5b0616247780740bb50 Mon Sep 17 00:00:00 2001
From: Hans Verkuil <[email protected]>
Date: Mon, 13 Jun 2011 09:21:56 -0300
Subject: [media] tuner-core: fix tuner_resume: use t->mode instead of t->type
From: Hans Verkuil <[email protected]>
commit 9bf0ef060ebae452c07cf5b0616247780740bb50 upstream.
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).
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
drivers/media/video/tuner-core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/media/video/tuner-core.c
+++ b/drivers/media/video/tuner-core.c
@@ -1223,7 +1223,7 @@ static int tuner_resume(struct i2c_clien
tuner_dbg("resume\n");
if (!t->standby)
- if (set_mode(t, t->type) == 0)
+ if (set_mode(t, t->mode) == 0)
set_freq(t, 0);
return 0;
Patches currently in stable-queue which might be from [email protected] are
queue-2.6.39/tuner-core-fix-tuner_resume-use-t-mode-instead-of-t-type.patch
queue-2.6.39/tuner-core-fix-s_std-and-s_tuner.patch
queue-2.6.39/pvrusb2-fix-g-s_tuner-support.patch
queue-2.6.39/bttv-fix-s_tuner-for-radio.patch
queue-2.6.39/v4l2-ioctl.c-prefill-tuner-type-for-g_frequency-and.patch
_______________________________________________
stable mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/stable