media: dvb-frontends/stv0910: fix FE_HAS_LOCK check order in tune()
authorDaniel Scheller <d.scheller@gmx.net>
Sun, 20 Aug 2017 10:29:14 +0000 (06:29 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sun, 20 Aug 2017 11:29:10 +0000 (07:29 -0400)
commitf0e72c29fd063aca325afee25a6f9bcc22871837
treeb940db6e2dcb7096ea9557c1f80e1c74058f74dd
parent6185a573851487d7044eecda39d5bfc77cf5d8ad
media: dvb-frontends/stv0910: fix FE_HAS_LOCK check order in tune()

It should first read the status and then check if FE has lock.

Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/dvb-frontends/stv0910.c