[media] mt9v032: Check return value of clk_prepare_enable/clk_set_rate
authorLad, Prabhakar <prabhakar.csengg@gmail.com>
Fri, 17 Jan 2014 09:22:47 +0000 (06:22 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 24 Feb 2014 16:14:12 +0000 (13:14 -0300)
commit79019190a4c3a082c739cf7cc73a040c48b333bb
treedc7b7838ce64e013a88f93a74049b36e1c6efa04
parentee2d16d7b3c95a65ed0434841568bd3f82712338
[media] mt9v032: Check return value of clk_prepare_enable/clk_set_rate

clk_set_rate(), clk_prepare_enable() functions can fail, so check the return
values to avoid surprises.

Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/i2c/mt9v032.c