From 5fc6a0b16cc9fe247f6a8f30e0d5498b30e6a099 Mon Sep 17 00:00:00 2001 From: Larry Li Date: Wed, 4 Jan 2012 17:07:50 +0800 Subject: ENGR00171259 mx6 Fix warning while remove GPU module Avoid necessary clk_disable operation Signed-off-by: Larry Li --- drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_device.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_device.c b/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_device.c index 6d3b91bbc792..02f2ff761b64 100644 --- a/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_device.c +++ b/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_device.c @@ -971,17 +971,14 @@ gckGALDEVICE_Destroy( /*Disable clock*/ if (Device->clk_3d_core) { - clk_disable(Device->clk_3d_core); clk_put(Device->clk_3d_core); Device->clk_3d_core = NULL; } if (Device->clk_3d_shader) { - clk_disable(Device->clk_3d_shader); clk_put(Device->clk_3d_shader); Device->clk_3d_shader = NULL; } if (Device->clk_2d_core) { - clk_disable(Device->clk_2d_core); clk_put(Device->clk_2d_core); Device->clk_2d_core = NULL; } -- cgit v1.2.3