From: Sylwester Nawrocki Date: Tue, 29 Jan 2013 09:42:28 +0000 (-0300) Subject: [media] s5p-fimc: Check return value of clk_enable/clk_set_rate X-Git-Tag: v3.9-rc1~93^2~135 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b71b56b264ae27f32784973d15bfdfbc7df6d579;p=pandora-kernel.git [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 Signed-off-by: Kyungmin Park Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed