[media] tuner-core.c: don't change type field in g_tuner or g_frequency
authorHans Verkuil <hans.verkuil@cisco.com>
Sun, 26 Jun 2011 08:35:34 +0000 (05:35 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 7 Jul 2011 20:20:04 +0000 (17:20 -0300)
commit5ad339a29858db6544052f98973d235129f9f49c
tree28d7c175a1495f79162c8e0e6f2056d07f1272e9
parentd118e294e27000bfd728308d7b74ba67350e779c
[media] tuner-core.c: don't change type field in g_tuner or g_frequency

The tuner core should not silently change the type field in g_tuner and
g_frequency. If the tuner is in a different mode than the one that was
requested, then just fill in what you can and don't attempt to read afc,
signal or rxsubchans values.

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