aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorNiklas Söderlund <[email protected]>2018-12-14 04:18:21 -0200
committerMauro Carvalho Chehab <[email protected]>2019-01-21 15:41:57 -0200
commit8d19d5d03b4d09177b0ae87f964eb751e6f51b7b (patch)
treee54eaefb2dff46c3fe5774f847e505d8c6023ffe /tools/perf/scripts/python/export-to-sqlite.py
parent5e22c19f7e66672966281ea6f557100805c222bc (diff)
media: rcar-vin: fix wrong return value in rvin_set_channel_routing()
If the operation in rvin_set_channel_routing() is successful the 'ret' variable contains the runtime PM use count for the VIN master device. The intention is not to return the use count to the caller but to return 0 on success else none zero. Fix this by always returning 0 if the operation is successful. Signed-off-by: Niklas Söderlund <[email protected]> Reviewed-by: Laurent Pinchart <[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