diff options
author | dipen <dpatel@marvell.com> | 2012-10-30 11:06:29 -0400 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2019-07-22 19:40:01 +0200 |
commit | ee243266aa0c046a9d4d438a1f15c233f7b569ad (patch) | |
tree | 399a91d449d9fb1e44de32950278b161ccbe41d3 | |
parent | e86f4527d1e1ff37158d008be26c0ad6e3560ef5 (diff) | |
download | linux-mmp3-dell-ariel-ee243266aa0c046a9d4d438a1f15c233f7b569ad.tar.gz |
MMP3: QSEVEN seprating out ddr devfreq pm_qos contraints in case we want to disbale that
Signed-off-by: dipen <dpatel@marvell.com>
-rw-r--r-- | drivers/uio/uio_hdmi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/uio/uio_hdmi.c b/drivers/uio/uio_hdmi.c index 6dd1a2ceeaed4..7959830876433 100644 --- a/drivers/uio/uio_hdmi.c +++ b/drivers/uio/uio_hdmi.c @@ -86,8 +86,8 @@ static void set_power_constraint(struct hdmi_instance *hi, int min) #ifdef CONFIG_CPU_MMP3 /* set DDR frequency constraint @ 400M, ddr constraint need 2x value */ -#ifndef CONFIG_MACH_QSEVEN pm_qos_update_request(&hi->qos_cpufreq_min, min); +#if defined(CONFIG_DDR_DEVFREQ) pm_qos_update_request(&hi->qos_ddrfreq_min, DDR_CONSTRAINT_LVL2); #endif #endif @@ -114,8 +114,8 @@ static void unset_power_constraint(struct hdmi_instance *hi) #endif #ifdef CONFIG_CPU_MMP3 -#ifndef CONFIG_MACH_QSEVEN pm_qos_update_request(&hi->qos_cpufreq_min, PM_QOS_DEFAULT_VALUE); +#ifdef CONFIG_DDR_DEVFREQ pm_qos_update_request(&hi->qos_ddrfreq_min, PM_QOS_DEFAULT_VALUE); #endif #endif @@ -586,7 +586,7 @@ static int hdmi_probe(struct platform_device *pdev) PM_QOS_DEFAULT_VALUE); #endif -#if defined(CONFIG_CPU_MMP3) && !defined(CONFIG_MACH_QSEVEN) +#if defined(CONFIG_CPU_MMP3) && defined(CONFIG_DDR_DEVFREQ) pm_qos_add_request(&hi->qos_ddrfreq_min, PM_QOS_DDR_DEVFREQ_MIN, PM_QOS_DEFAULT_VALUE); #endif |