diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2017-10-07 22:36:51 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-08 10:08:35 +0100 |
commit | 35c309e4c44686df7d0e776a8b095efc1d6d5641 (patch) | |
tree | dc03696bacfb447cdbbb4d5dbd20c970420cee9f /Documentation/devicetree/bindings | |
parent | 2b462a38bfeae50ebf1df120e1a7b2300d767188 (diff) |
drm/fsl-dcu: check for clk_prepare_enable() error
[ Upstream commit ef15d36154cc741d7ded4ae4fa0cf7987354e313 ]
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>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/devicetree/bindings')
0 files changed, 0 insertions, 0 deletions