aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners/si2157_priv.h
diff options
context:
space:
mode:
authorBrad Love <brad@nextdimension.cc>2019-11-14 21:03:58 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-04-21 16:46:25 +0200
commit7e80a8d14d9ffa5fbd10652da9a2d93c1cefd6f9 (patch)
tree9c8271f00b6eb531a0dc84ae1d8f2a9f1d7fed96 /drivers/media/tuners/si2157_priv.h
parentmedia: si2157: Better check for running tuner in init (diff)
downloadlinux-dev-7e80a8d14d9ffa5fbd10652da9a2d93c1cefd6f9.tar.xz
linux-dev-7e80a8d14d9ffa5fbd10652da9a2d93c1cefd6f9.zip
media: si2157: Add analog tuning related functions
Include set_analog_params, get_frequency, and get_bandwidth. Tested with NTSC and PAL standards via ch3/4 generator. Other standards are included, but are untested due to lack of generator. 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>
Diffstat (limited to 'drivers/media/tuners/si2157_priv.h')
-rw-r--r--drivers/media/tuners/si2157_priv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/tuners/si2157_priv.h b/drivers/media/tuners/si2157_priv.h
index 778f81b39996..ef4796098931 100644
--- a/drivers/media/tuners/si2157_priv.h
+++ b/drivers/media/tuners/si2157_priv.h
@@ -29,6 +29,8 @@ struct si2157_dev {
u8 chiptype;
u8 if_port;
u32 if_frequency;
+ u32 bandwidth;
+ u32 frequency;
struct delayed_work stat_work;
#if defined(CONFIG_MEDIA_CONTROLLER)