]> git.baikalelectronics.ru Git - kernel.git/commit
[media] tuner-core: call has_signal for both TV and radio
authorMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 4 Jul 2012 04:54:07 +0000 (01:54 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 4 Jul 2012 04:54:31 +0000 (01:54 -0300)
commit5c35724e909f56f81d6ca6980e17f14e0c59aaf5
treec0f3fb2ba251eddd745093b605d910a0b5e3f2c8
parent936a20b3429e348f528f5fe49f2bb772b8472b83
[media] tuner-core: call has_signal for both TV and radio

If g_tuner is called and the tuner is able to return the signal strength
via has_signal(), call the tunner callback to retrieve such data for all
tuner types, not only for radio ones.

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