aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <[email protected]>2017-11-01 17:05:58 -0400
committerMauro Carvalho Chehab <[email protected]>2017-12-11 13:04:56 -0500
commit74a6799ca9823690046091361ce062d3ccfeac8d (patch)
treeab9e00fdf3be1d4a6b46a7596e0e1ae680344a22 /tools/perf/scripts/python/event_analyzing_sample.py
parente639c869558cc1172cacf7477819c7e9db60e3a4 (diff)
media: m88rs2000: handle the case where tuner doesn't have get_frequency
If the tuner doesn't have get_frequency() callback, the current code will place a random value as the frequency offset. That doesn't seem right! The better is to just assume that, on such case, the tuner was able to set the exact frequency that was requested. Fixes a smatch warning: drivers/media/dvb-frontends/m88rs2000.c:639 m88rs2000_set_frontend() error: uninitialized symbol 'tuner_freq'. Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions