diff options
| author | Mauro Carvalho Chehab <[email protected]> | 2017-11-01 17:06:02 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2017-12-11 13:04:53 -0500 |
| commit | 15e3145a709978db777bd60d07552da06ae0e407 (patch) | |
| tree | 9fc7d46c776b08402084037d83d2245e59c5452d /tools/perf/scripts/python/bin | |
| parent | 452c6446948e32018014ddadf93c525bf1f907ac (diff) | |
media: mb86a16: be more resilient if I2C fails on sync
If the I2C read fails while check for sync, there's no point
on doing adjusting the tuner due to a random value that might
be at VIRM var. So, set VIRM to zero, as that makes the caller
for check_sync() to return an error.
Fix those smatch warnings:
drivers/media/dvb-frontends/mb86a16.c:1460 mb86a16_set_fe() error: uninitialized symbol 'VIRM'.
drivers/media/dvb-frontends/mb86a16.c:1461 mb86a16_set_fe() error: uninitialized symbol 'VIRM'.
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions