git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b43a6f
)
[media] s5p-fimc: Check return value of clk_enable/clk_set_rate
author
Sylwester Nawrocki
<s.nawrocki@samsung.com>
Tue, 29 Jan 2013 09:42:28 +0000
(06:42 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Tue, 5 Feb 2013 19:50:25 +0000
(17:50 -0200)
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 <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
No differences found