aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <[email protected]>2017-11-01 17:05:59 -0400
committerMauro Carvalho Chehab <[email protected]>2017-12-11 13:04:57 -0500
commit07ade2d0f680864ba0c93553d008900dd3e1a421 (patch)
tree150c5feed8cf5b14cead924e776cf603f48258bb /tools/perf/scripts/python
parent04f849c00cf6228092d37876896fbd541a0f3393 (diff)
media: cxd2841er: ensure that status will always be available
The loop with read status use a dynamic timeout value, calculated from symbol rate. It should run the loop at least one time for the status to be handled after the loop. While this should, in practice, happen every time, it doesn't hurt to change the logic to make it explicit. This solves a smatch warning: drivers/media/dvb-frontends/cxd2841er.c:3350 cxd2841er_set_frontend_s() error: uninitialized symbol 'status'. Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions