From: Ziggy Date: Sun, 13 Jan 2013 16:00:34 +0000 (-0500) Subject: Remove MPDECISION log spam X-Git-Url: https://www.ziggy471.com/git/gitweb.cgi?p=ziggy471-sgs3-jb.git;a=commitdiff;h=66143db9198fa7aa453a42e816f904b00e57c25a Remove MPDECISION log spam --- --- a/arch/arm/mach-msm/msm_mpdecision.c +++ b/arch/arm/mach-msm/msm_mpdecision.c @@ -246,11 +246,15 @@ static void msm_mpdec_work_thread(struct cpu_down(cpu); per_cpu(msm_mpdec_cpudata, cpu).online = false; on_time = ktime_to_ms(ktime_get()) - per_cpu(msm_mpdec_cpudata, cpu).on_time; +#if DEBUG pr_info(MPDEC_TAG"CPU[%d] on->off | Mask=[%d%d%d%d] | time online: %llu\n", cpu, cpu_online(0), cpu_online(1), cpu_online(2), cpu_online(3), on_time); +#endif } else if (per_cpu(msm_mpdec_cpudata, cpu).online != cpu_online(cpu)) { +#if DEBUG pr_info(MPDEC_TAG"CPU[%d] was controlled outside of mpdecision! | pausing [%d]ms\n", cpu, msm_mpdec_tuners_ins.pause); +#endif msleep(msm_mpdec_tuners_ins.pause); was_paused = true; } @@ -263,11 +267,15 @@ static void msm_mpdec_work_thread(struct cpu_up(cpu); per_cpu(msm_mpdec_cpudata, cpu).online = true; per_cpu(msm_mpdec_cpudata, cpu).on_time = ktime_to_ms(ktime_get()); +#if DEBUG pr_info(MPDEC_TAG"CPU[%d] off->on | Mask=[%d%d%d%d]\n", cpu, cpu_online(0), cpu_online(1), cpu_online(2), cpu_online(3)); +#endif } else if (per_cpu(msm_mpdec_cpudata, cpu).online != cpu_online(cpu)) { +#if DEBUG pr_info(MPDEC_TAG"CPU[%d] was controlled outside of mpdecision! | pausing [%d]ms\n", cpu, msm_mpdec_tuners_ins.pause); +#endif msleep(msm_mpdec_tuners_ins.pause); was_paused = true; } @@ -701,4 +709,4 @@ void msm_mpdec_exit(void) destroy_workqueue(msm_mpdec_workq); } -MODULE_DESCRIPTION("Kernel based MPDECISION (C) 2011-12 Chad Goodman"); \ No newline at end of file +MODULE_DESCRIPTION("Kernel based MPDECISION (C) 2011-12 Chad Goodman");