media: stv090x: Only print tuner lock if get_status is available
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 1 Nov 2017 21:06:01 +0000 (17:06 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 11 Dec 2017 18:04:52 +0000 (13:04 -0500)
commitab0625f021f83ecb19c969188ba2af3d154c054e
tree5a504a9fca6ae9e57e330d92203fce1acadb95b9
parent8a08ef08fb132b3184e99fa8c1a007bcfadd9942
media: stv090x: Only print tuner lock if get_status is available

The current code doesn't report tuner lock properly if the
tuner get_status callback is not available, as reported by
smatch:
drivers/media/dvb-frontends/stv090x.c:2220 stv090x_get_coldlock() error: uninitialized symbol 'reg'.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/dvb-frontends/stv090x.c