]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fsl-viu: cleanup clock API use
authorGerhard Sittig <gsi@denx.de>
Mon, 1 Jul 2013 16:54:41 +0000 (18:54 +0200)
committerAnatolij Gustschin <agust@denx.de>
Fri, 23 Aug 2013 21:18:57 +0000 (23:18 +0200)
commita5d7a6dea6ac289669a6e7e8c7e7d66893a5c0f5
tree0f14ad80c12f927a53d3a56887ed4dc6494e20a5
parent180890c74da72b5249f370edea426fbe076d37be
fsl-viu: cleanup clock API use

use devm_clk_get() for automatic put after device close, check for and
propagate errors when enabling clocks, need to prepare clocks before
they can get enabled, adjust code paths to correctly balance get/put and
prepare/unprepare and enable/disable calls

Cc: Mauro Carvalho Chehab <m.chehab@samsung.com>
Signed-off-by: Gerhard Sittig <gsi@denx.de>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
drivers/media/platform/fsl-viu.c