commit | ef15d36154cc741d7ded4ae4fa0cf7987354e313 | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@nxp.com> | Wed Dec 28 14:48:48 2016 -0200 |
committer | Stefan Agner <stefan@agner.ch> | Tue Feb 07 20:28:04 2017 -0800 |
tree | 1c0ae48431cadad1195f2eb606ff7196215321f6 | |
parent | 5d2883d51d60ce34a773d4a07b468216109d9030 [diff] |
drm/fsl-dcu: check for clk_prepare_enable() error clk_prepare_enable() may fail, so we should better check its return value. Also place the of_node_put() function right after clk_prepare_enable(), in order to avoid calling of_node_put() twice in case clk_prepare_enable() fails. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Stefan Agner <stefan@agner.ch>