]> 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)
commit05d38bc604c1e740efc0f92850d22ee10c4bc227
tree0445e720c6313a851cb9c5b0eab224285a10b7c5
parent3d07473aef3c30d9058da51b044f5d080bdf5b13
[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