diff options
author | Olli Salonen <olli.salonen@iki.fi> | 2014-08-25 20:07:03 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-09-21 21:42:38 +0200 |
commit | 4cbf6ed910c88d7f6c15304f9a5a3ed86290dc06 (patch) | |
tree | 74d5122fa566d328182db14ba3fcb656d85acfc9 /drivers/media/tuners/si2157_priv.h | |
parent | [media] si2157: change command for sleep (diff) | |
download | linux-4cbf6ed910c88d7f6c15304f9a5a3ed86290dc06.tar.xz linux-4cbf6ed910c88d7f6c15304f9a5a3ed86290dc06.zip |
[media] si2157: avoid firmware loading if it has been loaded previously
Add a variable into state to keep track if firmware has been loaded or not.
Skip firmware loading in case it is already loaded (resume from sleep).
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 3ddab5e6b500..4080a57962f0 100644 --- a/drivers/media/tuners/si2157_priv.h +++ b/drivers/media/tuners/si2157_priv.h @@ -26,6 +26,7 @@ struct si2157 { struct i2c_client *client; struct dvb_frontend *fe; bool active; + bool fw_loaded; bool inversion; }; |