diff options
author | Brad Love <brad@nextdimension.cc> | 2019-11-14 21:03:58 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-04-21 16:46:25 +0200 |
commit | 7e80a8d14d9ffa5fbd10652da9a2d93c1cefd6f9 (patch) | |
tree | 9c8271f00b6eb531a0dc84ae1d8f2a9f1d7fed96 /drivers/media/tuners/si2157_priv.h | |
parent | media: si2157: Better check for running tuner in init (diff) | |
download | linux-7e80a8d14d9ffa5fbd10652da9a2d93c1cefd6f9.tar.xz linux-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.h | 2 |
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) |