Skip to content

Commit

Permalink
Updated MPDecision from showp1984 along with added sysfs interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Snuzzo committed Dec 30, 2012
1 parent 5b9a364 commit 2190b55
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion arch/arm/mach-msm/acpuclock-8x60.c
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ static struct clkctl_acpu_speed *acpu_freq_tbl;
static struct clkctl_l2_speed *l2_freq_tbl = l2_freq_tbl_v2;
static unsigned int l2_freq_tbl_size = ARRAY_SIZE(l2_freq_tbl_v2);

static unsigned long acpuclk_8x60_get_rate(int cpu)
unsigned long acpuclk_8x60_get_rate(int cpu)
{
return drv_state.current_speed[cpu]->acpuclk_khz;
}
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/mach-msm/msm_mpdecision.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#include <linux/delay.h>

#define MPDEC_TAG "[MPDEC]: "
#define MSM_MPDEC_STARTDELAY 40000
#define MSM_MPDEC_STARTDELAY 70000
#define MSM_MPDEC_DELAY 500
#define MSM_MPDEC_PAUSE 10000

Expand Down Expand Up @@ -67,7 +67,7 @@ static struct msm_mpdec_tuners {
.scroff_single_core = true,
};

static unsigned int NwNs_Threshold[4] = {20, 0, 0, 5};
static unsigned int NwNs_Threshold[4] = {35, 0, 0, 5};
static unsigned int TwTs_Threshold[4] = {250, 0, 0, 250};

extern unsigned int get_rq_info(void);
Expand Down
4 changes: 3 additions & 1 deletion include/linux/cpufreq.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
#include <asm/div64.h>

#define CPUFREQ_NAME_LEN 16

#ifdef CONFIG_MSM_MPDEC
extern uint32_t acpu_check_khz_value(unsigned long khz);
#endif

/*********************************************************************
* CPUFREQ NOTIFIER INTERFACE *
Expand Down

0 comments on commit 2190b55

Please sign in to comment.