lkml.org 
[lkml]   [2013]   [Jul]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH v5 2/7] cpufreq: Add boost frequency support in core
    From
    On 16 July 2013 17:36, Lukasz Majewski <l.majewski@samsung.com> wrote:
    > On Tue, 16 Jul 2013 15:11:54 +0530 Viresh Kumar viresh.kumar@linaro.org
    > wrote,
    >> On 4 July 2013 14:20, Lukasz Majewski <l.majewski@samsung.com> wrote:

    >> > +void cpufreq_set_boost_enabled(int state)
    > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [*]
    >
    >>
    >> Maybe cpufreq_block_boost? As suggested by Rafael.
    >
    > What do you mean by cpufreq_block_boost()? This name would reverse the
    > logic.
    >
    > Function [*] is used to change boost_enabled static flag (defined at
    > cpufreq.c file) state according to acpi-cpufreq.c boost support status.

    I misread it again :(

    So, what about adding another field in struct cpufreq_driver: boost_enabled?
    And get rid of the global boost_enabled we have used? Similar to how
    boost_supported is used, then we don't need this routine.


    \
     
     \ /
      Last update: 2013-07-17 08:01    [W:4.552 / U:0.256 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site