]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00171259 mx6 Fix warning while remove GPU module
authorLarry Li <b20787@freescale.com>
Wed, 4 Jan 2012 09:07:50 +0000 (17:07 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:33:45 +0000 (08:33 +0200)
Avoid necessary clk_disable operation

Signed-off-by: Larry Li <b20787@freescale.com>
drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_device.c

index 6d3b91bbc79206db26e1fbf25a82355624ae6b7f..02f2ff761b64b717efbd35009a8844b24e447bab 100644 (file)
@@ -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;
         }