Searched hist:ef15d361 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/gpu/drm/fsl-dcu/ |
H A D | fsl_tcon.c | ef15d361 Wed Dec 28 10:48:48 CST 2016 Fabio Estevam <fabio.estevam@nxp.com> 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> ef15d361 Wed Dec 28 10:48:48 CST 2016 Fabio Estevam <fabio.estevam@nxp.com> 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>
|