OSDN Git Service

media: si2157: add on-demand rf strength func
authorBrad Love <brad@nextdimension.cc>
Thu, 14 Nov 2019 20:04:06 +0000 (21:04 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 21 Apr 2020 14:50:35 +0000 (16:50 +0200)
commitd99846cb1c0ecba0856276da5b8c2368dd402623
tree153bb9d3e0defdce36a4bca73dccb217c5bddbac
parent3c1ccbad80802fa8bf807725db75a92d0887c9f2
media: si2157: add on-demand rf strength func

Add get_rf_strength callback to get RSSI from the tuner. DVBv5
stat cache is updated. get_rf_strength is called by tuner_core
for analog tuners and is also used by some bridge drivers to
obtain RSSI directly from the tuner.

Signed-off-by: Brad Love <brad@nextdimension.cc>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/tuners/si2157.c