mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 05:17:10 +09:00
Revert "rk30/rk2928: disable dvfs tree debug and avs debug"
This reverts commit d3c5f9f2f4.
This commit is contained in:
@@ -1869,14 +1869,10 @@ struct dvfs_attribute {
|
||||
|
||||
static struct dvfs_attribute dvfs_attrs[] = {
|
||||
/* node_name permision show_func store_func */
|
||||
#ifdef CONFIG_RK_DVFS_TREE_DBG
|
||||
__ATTR(dvfs_tree, S_IRUGO | S_IWUSR, dvfs_tree_show, dvfs_tree_store),
|
||||
#endif
|
||||
#ifdef CONFIG_RK_AVS_DBG
|
||||
__ATTR(avs_init, S_IRUGO | S_IWUSR, avs_init_show, avs_init_store),
|
||||
__ATTR(avs_dyn, S_IRUGO | S_IWUSR, avs_dyn_show, avs_dyn_store),
|
||||
//__ATTR(avs_dyn, S_IRUGO | S_IWUSR, avs_dyn_show, avs_dyn_store),
|
||||
__ATTR(avs_now, S_IRUGO | S_IWUSR, avs_now_show, avs_now_store),
|
||||
#endif
|
||||
};
|
||||
|
||||
static int __init dvfs_init(void)
|
||||
|
||||
@@ -267,7 +267,7 @@ void dvfs_clk_register_set_rate_callback(struct clk *clk, clk_dvfs_target_callba
|
||||
struct clk_node *dvfs_clk = clk_get_dvfs_info(clk);
|
||||
if (IS_ERR_OR_NULL(dvfs_clk)){
|
||||
DVFS_ERR("%s %s get dvfs_clk err\n", __func__, clk->name);
|
||||
return ;
|
||||
return -1;
|
||||
}
|
||||
dvfs_clk->clk_dvfs_target = clk_dvfs_target;
|
||||
}
|
||||
@@ -1865,14 +1865,10 @@ struct dvfs_attribute {
|
||||
|
||||
static struct dvfs_attribute dvfs_attrs[] = {
|
||||
/* node_name permision show_func store_func */
|
||||
#ifdef CONFIG_RK_DVFS_TREE_DBG
|
||||
__ATTR(dvfs_tree, S_IRUGO | S_IWUSR, dvfs_tree_show, dvfs_tree_store),
|
||||
#endif
|
||||
#ifdef CONFIG_RK_AVS_DBG
|
||||
__ATTR(avs_init, S_IRUGO | S_IWUSR, avs_init_show, avs_init_store),
|
||||
__ATTR(avs_dyn, S_IRUGO | S_IWUSR, avs_dyn_show, avs_dyn_store),
|
||||
//__ATTR(avs_dyn, S_IRUGO | S_IWUSR, avs_dyn_show, avs_dyn_store),
|
||||
__ATTR(avs_now, S_IRUGO | S_IWUSR, avs_now_show, avs_now_store),
|
||||
#endif
|
||||
};
|
||||
|
||||
static int __init dvfs_init(void)
|
||||
|
||||
@@ -101,14 +101,6 @@ config DVFS
|
||||
depends on REGULATOR&&CPU_FREQ
|
||||
default y
|
||||
|
||||
config RK_DVFS_TREE_DBG
|
||||
bool "Enable dvfs tree debug"
|
||||
depends on DVFS
|
||||
|
||||
config RK_AVS_DBG
|
||||
bool "Enable avs(auto voltage scale) debug"
|
||||
depends on DVFS
|
||||
|
||||
config RK_CLOCK_PROC
|
||||
bool "/proc/clocks support"
|
||||
depends on PROC_FS
|
||||
|
||||
Reference in New Issue
Block a user