[media] si2157: avoid firmware loading if it has been loaded previously
authorOlli Salonen <olli.salonen@iki.fi>
Mon, 25 Aug 2014 18:07:03 +0000 (15:07 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sun, 21 Sep 2014 19:42:38 +0000 (16:42 -0300)
commit4cbf6ed910c88d7f6c15304f9a5a3ed86290dc06
tree74d5122fa566d328182db14ba3fcb656d85acfc9
parent0e38233d329e463a64146080c008d8044651bd3f
[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>
drivers/media/tuners/si2157.c
drivers/media/tuners/si2157_priv.h