]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita879eb59052439ecfda43a79aa996912f6ef7254
tree5a504a9fca6ae9e57e330d92203fce1acadb95b9
parent1d92ea0c5ec9fcfacfed8e4e775d84071d9bbaf2
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