]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[media] coda: Check the return value from clk_prepare_enable()
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 21 Aug 2013 14:14:17 +0000 (11:14 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sat, 24 Aug 2013 07:06:08 +0000 (04:06 -0300)
commit79830db28622b3ee183a30903d50cbd92eb0fb31
treef26cd46996a7706d244b113eebdd90ceb3914bf1
parentf82bc203eeddb271c08637577544b30af43e047b
[media] coda: Check the return value from clk_prepare_enable()

clk_prepare_enable() may fail, so let's check its return value and propagate it
in the case of error.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/coda.c