diff options
author | Antti Palosaari <crope@iki.fi> | 2016-02-08 09:51:16 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-05-06 10:07:45 -0300 |
commit | 78bab93026ab95b6c8b9e8770ef7089f7d40b2d5 (patch) | |
tree | 1e75706110ef01fe835ad4990c1a0775c6cc13b7 /drivers/media/tuners/si2157_priv.h | |
parent | 8a73faab0a6b6c620c62f24fc991d0ad653b848b (diff) | |
download | op-kernel-dev-78bab93026ab95b6c8b9e8770ef7089f7d40b2d5.zip op-kernel-dev-78bab93026ab95b6c8b9e8770ef7089f7d40b2d5.tar.gz |
[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 589d558..d6b2c7b 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; |