aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSylwester Nawrocki <[email protected]>2013-01-29 06:52:29 -0300
committerMauro Carvalho Chehab <[email protected]>2013-02-05 17:50:54 -0200
commit44e2b09ca468c7c91fa4bb8058fcda38f344974a (patch)
tree2b04c9fecf4ddd1b7241335b63772385e64e3d2b /tools/perf/scripts/python
parentb71b56b264ae27f32784973d15bfdfbc7df6d579 (diff)
[media] s5p-csis: Check return value of clk_enable/clk_set_rate
clk_set_rate(), clk_enable() functions can fail, so check the return values to avoid surprises. While at it use ERR_PTR() value to indicate an invalid clock. Signed-off-by: Sylwester Nawrocki <[email protected]> Signed-off-by: Kyungmin Park <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions