]> git.baikalelectronics.ru Git - kernel.git/commit
[media] tuner-core: return the frequency range of the correct tuner
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 25 May 2012 15:01:40 +0000 (12:01 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 11 Jun 2012 21:12:56 +0000 (18:12 -0300)
commit965ae5438d6573f034ffeacce9abadd3517f3ea1
tree0445e720c6313a851cb9c5b0eab224285a10b7c5
parent47bf598d609b81a1753baf04e14e6b7d6ca18120
[media] tuner-core: return the frequency range of the correct tuner

The frequency range of the current tuner (radio or TV) was returned
instead of the frequency range of the requested tuner (which depends
on the device node).

This bug caused the frequency range of the radio tuner to be returned
when G_TUNER was called on a video node.

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