diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-12-10 13:37:54 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-12-14 16:19:04 +0100 |
commit | 98c65a3dac95b54bc105e29d492ce18c49353e67 (patch) | |
tree | 1e16a0e45f8b710a99be6baf1a9acde69892393a /drivers/media/tuners/si2157_priv.h | |
parent | media: si2157: add support for ISDB-T and DTMB (diff) | |
download | linux-98c65a3dac95b54bc105e29d492ce18c49353e67.tar.xz linux-98c65a3dac95b54bc105e29d492ce18c49353e67.zip |
media: si2157: add support for 1.7MHz and 6.1 MHz
Some tuners allow setting the bandwidth filter to 1.7MHz and
6.1 MHz. Add support for it upstream, as the narrower is the
bandwidth filter, the better.
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 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/media/tuners/si2157_priv.h b/drivers/media/tuners/si2157_priv.h index df17a5f03561..24849c8ed398 100644 --- a/drivers/media/tuners/si2157_priv.h +++ b/drivers/media/tuners/si2157_priv.h @@ -66,6 +66,11 @@ struct si2157_cmd { unsigned rlen; }; +#define SUPPORTS_1700KHz(dev) (((dev)->part_id == SI2141) || \ + ((dev)->part_id == SI2147) || \ + ((dev)->part_id == SI2157) || \ + ((dev)->part_id == SI2177)) + /* Old firmware namespace */ #define SI2158_A20_FIRMWARE "dvb-tuner-si2158-a20-01.fw" #define SI2141_A10_FIRMWARE "dvb-tuner-si2141-a10-01.fw" |