aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorDafna Hirschfeld <[email protected]>2020-02-04 22:44:45 +0100
committerMauro Carvalho Chehab <[email protected]>2020-02-24 17:37:58 +0100
commit0564fd36f6f54ed552de5a01331bd36168507841 (patch)
treeddc6b99966c7d124f4bc8689778cc4b92ac906a9 /tools/perf/scripts/python/export-to-sqlite.py
parentfdab089e3150d92b2409994fdc32350dbfefab85 (diff)
media: staging: rkisp1: fix test of return value of media_entity_get_fwnode_pad
media_entity_get_fwnode_pad returns negative value on error and the pad numeber on success. Therefore change the error test from 'if (ret)' to 'if (ret < 0)' . Fixes: d65dd85281fb ("media: staging: rkisp1: add Rockchip ISP1 base driver") Signed-off-by: Dafna Hirschfeld <[email protected]> Acked-by: Helen Koike <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions