aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorZhang Xiaoxu <[email protected]>2020-11-16 15:18:01 +0100
committerMauro Carvalho Chehab <[email protected]>2020-12-03 07:37:33 +0100
commiteb08c48132a1f594478ab9fa2b6ee646c3513a49 (patch)
treee2c6cf94cb38b688a1c2c800c10cb941d06c6564 /tools/perf/scripts/python/intel-pt-events.py
parentca1cfc3fa2d32960bbf55e5c4785151b7034feb0 (diff)
media: tvp5150: Fix wrong return value of tvp5150_parse_dt()
If of_graph_get_endpoint_by_regs() return NULL, it will return 0 rather than an errno, because we doesn't initialize the return value. Fixes: 0556f1d580d4 ("media: tvp5150: add input source selection of_graph support") Reported-by: Hulk Robot <[email protected]> Signed-off-by: Zhang Xiaoxu <[email protected]> Reviewed-by: Marco Felsch <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions