diff options
author | Antti Palosaari <crope@iki.fi> | 2016-02-08 12:51:16 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-05-06 15:07:45 +0200 |
commit | 78bab93026ab95b6c8b9e8770ef7089f7d40b2d5 (patch) | |
tree | 1e75706110ef01fe835ad4990c1a0775c6cc13b7 /drivers/media/tuners/si2157_priv.h | |
parent | [media] zl10353: use div_u64 instead of do_div (diff) | |
download | linux-78bab93026ab95b6c8b9e8770ef7089f7d40b2d5.tar.xz linux-78bab93026ab95b6c8b9e8770ef7089f7d40b2d5.zip |
[media] si2157: detect if firmware is running
Detect if firmware is running run-time and download / start it only
when needed. Detection is done by reading IF frequency value.
Garbage value is returned by firmware when it is not running,
otherwise correct value is returned.
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, 0 insertions, 1 deletions
diff --git a/drivers/media/tuners/si2157_priv.h b/drivers/media/tuners/si2157_priv.h index 589d558d381c..d6b2c7b44053 100644 --- a/drivers/media/tuners/si2157_priv.h +++ b/drivers/media/tuners/si2157_priv.h @@ -26,7 +26,6 @@ struct si2157_dev { struct mutex i2c_mutex; struct dvb_frontend *fe; bool active; - bool fw_loaded; bool inversion; u8 chiptype; u8 if_port; |