[media] dvb_frontend: better handle lna set errors
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 16 Feb 2014 09:36:17 +0000 (06:36 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 4 Mar 2014 17:19:34 +0000 (14:19 -0300)
commite6876692ca86f1aacccec42fc68f628a8f2a022b
tree1395be3886393938b47f9becc19c1b0fb37673f6
parent52f7b00e645b2c85020bca2cc3dc720ab7f93ac0
[media] dvb_frontend: better handle lna set errors

If an attempt to set LNA fails, restore the cache to LNA_AUTO,
in order to make it to reflect the current LNA status.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/dvb-core/dvb_frontend.c