rk3288: enable iep clocks

This commit is contained in:
ljf
2014-04-01 18:11:02 +08:00
parent 9596d0ed75
commit 0ea16142f9
2 changed files with 3 additions and 3 deletions

View File

@@ -953,7 +953,7 @@
reg = <0xff900000 0x800>;
interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk_gates15 2>, <&clk_gates15 3>;
clock_names = "aclk_iep", "hclk_iep";
clock-names = "aclk_iep", "hclk_iep";
status = "okay";
};

View File

@@ -37,7 +37,7 @@
#include "hw_iep_reg.h"
#define IEP_MAJOR 255
//#define IEP_CLK_ENABLE
#define IEP_CLK_ENABLE
//#define IEP_TEST_CASE
//#undef dmac_flush_range
@@ -872,8 +872,8 @@ err_irq:
devm_release_mem_region(&pdev->dev, res->start, resource_size(res));
}
err_ioremap:
err_clock:
wake_lock_destroy(&data->wake_lock);
err_clock:
kfree(data);
return ret;