summaryrefslogtreecommitdiff
path: root/drivers/media/tuners
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2017-11-01 17:05:53 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-12-11 13:13:39 -0500
commitf161544d9d7d8e617c13fe30504317c417ed49e9 (patch)
tree2c5b68f7a98af9c2cb0643b04d454092b4fbbdef /drivers/media/tuners
parent07ade2d0f680864ba0c93553d008900dd3e1a421 (diff)
media: drxd_hard: better handle I2C errors
As warned by smatch: drivers/media/dvb-frontends/drxd_hard.c:989 HI_Command() error: uninitialized symbol 'waitCmd'. drivers/media/dvb-frontends/drxd_hard.c:1306 SC_WaitForReady() error: uninitialized symbol 'curCmd'. drivers/media/dvb-frontends/drxd_hard.c:1322 SC_SendCommand() error: uninitialized symbol 'errCode'. drivers/media/dvb-frontends/drxd_hard.c:1339 SC_ProcStartCommand() error: uninitialized symbol 'scExec'. The error handling on several places are somewhat flawed, as they don't check if Read16() returns an error. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/tuners')
0 files changed, 0 insertions, 0 deletions