diff options
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2013-01-29 06:52:29 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-02-05 17:50:54 -0200 |
commit | 44e2b09ca468c7c91fa4bb8058fcda38f344974a (patch) | |
tree | 2b04c9fecf4ddd1b7241335b63772385e64e3d2b /drivers/media/i2c/s5c73m3 | |
parent | b71b56b264ae27f32784973d15bfdfbc7df6d579 (diff) | |
download | linux-stable-44e2b09ca468c7c91fa4bb8058fcda38f344974a.tar.gz linux-stable-44e2b09ca468c7c91fa4bb8058fcda38f344974a.tar.bz2 linux-stable-44e2b09ca468c7c91fa4bb8058fcda38f344974a.zip |
[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 <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/i2c/s5c73m3')
0 files changed, 0 insertions, 0 deletions