aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorFabio Estevam <[email protected]>2016-12-28 16:48:48 +0000
committerStefan Agner <[email protected]>2017-02-08 04:28:04 +0000
commitef15d36154cc741d7ded4ae4fa0cf7987354e313 (patch)
tree1c0ae48431cadad1195f2eb606ff7196215321f6 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parentdrm/fsl-dcu: remove unneeded 'ret' assignment (diff)
downloadkernel-ef15d36154cc741d7ded4ae4fa0cf7987354e313.tar.gz
kernel-ef15d36154cc741d7ded4ae4fa0cf7987354e313.zip
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 <[email protected]> Signed-off-by: Stefan Agner <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions