diff options
author | Olli Salonen <olli.salonen@iki.fi> | 2014-08-25 15:07:04 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-09-21 16:42:39 -0300 |
commit | 8e417224dfb397633601a04214841df12cd470b0 (patch) | |
tree | 02b242ed48aaea26bf100fa4766368439d856c9e /drivers/media/dvb-frontends/si2168_priv.h | |
parent | 4cbf6ed910c88d7f6c15304f9a5a3ed86290dc06 (diff) | |
download | op-kernel-dev-8e417224dfb397633601a04214841df12cd470b0.zip op-kernel-dev-8e417224dfb397633601a04214841df12cd470b0.tar.gz |
[media] si2168: avoid firmware loading if it has been loaded previously
Add a variable to keep track if firmware is loaded or not and skip parts of the
initialization if fw is already loaded. Resume from sleep with a different
command compared to initial power up and run command 85 after resume command.
This behaviour is observed when using manufacturer provided binary-only si2168
driver for TechnoTrend CT2-4400.
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/dvb-frontends/si2168_priv.h')
-rw-r--r-- | drivers/media/dvb-frontends/si2168_priv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/si2168_priv.h b/drivers/media/dvb-frontends/si2168_priv.h index 0f83284..e13983e 100644 --- a/drivers/media/dvb-frontends/si2168_priv.h +++ b/drivers/media/dvb-frontends/si2168_priv.h @@ -36,6 +36,7 @@ struct si2168 { fe_delivery_system_t delivery_system; fe_status_t fe_status; bool active; + bool fw_loaded; u8 ts_mode; }; |