diff options
author | Olli Salonen <olli.salonen@iki.fi> | 2015-05-05 18:54:17 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-05-12 18:20:55 +0200 |
commit | ee3c3e46885946cc041f08ec68e7c5b91b087cbe (patch) | |
tree | 2a892ccba55536e6ef5e3cbd71c6bbcdf2f72424 /drivers/media/tuners/si2157_priv.h | |
parent | [media] si2168: add I2C error handling (diff) | |
download | linux-ee3c3e46885946cc041f08ec68e7c5b91b087cbe.tar.xz linux-ee3c3e46885946cc041f08ec68e7c5b91b087cbe.zip |
[media] si2157: support selection of IF interface
The chips supported by the si2157 driver have two IF outputs (either
pins 12+13 or pins 9+11). Instead of hardcoding the output to be used
add an option to choose which output shall be used.
As this patch changes the default behaviour, the IF interface is
specified in each driver currently using si2157 driver. This is to
keep bisectability.
Signed-off-by: Olli Salonen <olli.salonen@iki.fi>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/tuners/si2157_priv.h')
-rw-r--r-- | drivers/media/tuners/si2157_priv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/tuners/si2157_priv.h b/drivers/media/tuners/si2157_priv.h index cd8fa5b25304..71a5f8c389de 100644 --- a/drivers/media/tuners/si2157_priv.h +++ b/drivers/media/tuners/si2157_priv.h @@ -28,6 +28,7 @@ struct si2157_dev { bool fw_loaded; bool inversion; u8 chiptype; + u8 if_port; u32 if_frequency; }; |