commit | b71b56b264ae27f32784973d15bfdfbc7df6d579 | [log] [tgz] |
---|---|---|
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | Tue Jan 29 06:42:28 2013 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Tue Feb 05 17:50:25 2013 -0200 |
tree | a0185918fe6ead4e004a5dbfa42a5a5a3eb1051f | |
parent | 7b43a6f3f517109c2912d82f7f666a84420689bc [diff] |
[media] s5p-fimc: 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 <s.nawrocki@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>