Re: [PATCH v4 05/31] [media] fsl-viu: cleanup clock API use

2013-08-23 Thread Anatolij Gustschin
On Tue, 6 Aug 2013 22:43:45 +0200 Gerhard Sittig wrote: > 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 a

[PATCH v4 05/31] [media] fsl-viu: cleanup clock API use

2013-08-06 Thread Gerhard Sittig
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 Signed-off-by: Gerhard Sittig --- driver