aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorEzequiel Garcia <[email protected]>2018-06-01 15:49:51 -0400
committerMauro Carvalho Chehab <[email protected]>2018-06-28 07:55:39 -0400
commit9aecc03555825a79a8a4ca45199cb866e8684623 (patch)
tree3fb3730bf9a1a873780c6b0db5adb28417941d0c /tools/perf/scripts/python/call-graph-from-sql.py
parent1946117b8f135a62eea5cfa18be63b1741174b9f (diff)
media: rockchip/rga: Fix broken .start_streaming
Currently, rga_buf_start_streaming() is expecting pm_runtime_get_sync to return zero on success, which is wrong. As per the documentation, pm_runtime_get_sync increments the device's usage counter and return its result. This means it will typically return a positive integer on success and a negative error code. Therefore, rockchip-rga driver is currently unusable failing to start_streaming in most cases. Fix it and while here, cleanup the buffer return-to-core logic. Fixes: f7e7b48e6d79 ("[media] rockchip/rga: v4l2 m2m support") Signed-off-by: Ezequiel Garcia <[email protected]> Reviewed-by: Jacob Chen <[email protected]> [[email protected]: fix line over 80 cols warning] Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions