commit | 180890c74da72b5249f370edea426fbe076d37be | [log] [tgz] |
---|---|---|
author | Gerhard Sittig <gsi@denx.de> | Mon Jul 01 19:01:47 2013 +0200 |
committer | Anatolij Gustschin <agust@denx.de> | Fri Aug 23 23:07:46 2013 +0200 |
tree | 81f62dcb3ead95d9b823dcfcd4ba425bd76b5bc8 | |
parent | 7282bdb224658b25b445f2b1b3f6cab93cbef961 [diff] |
mtd: mpc5121_nfc: 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 error code paths to correctly balance get/put and prepare/unprepare and enable/disable calls Signed-off-by: Gerhard Sittig <gsi@denx.de> Signed-off-by: Anatolij Gustschin <agust@denx.de>