• Alex Elder's avatar
    net: ipa: use icc_enable() and icc_disable() · 9dd50068
    Alex Elder authored
    The interconnect framework now provides the ability to enable and
    disable interconnects without having to change their recorded
    "enabled" bandwidth value.  Use this mechanism, rather than setting
    the bandwidth values to zero and non-zero respectively to disable
    and enable the IPA interconnects.
    
    Disable each interconnect before setting its "enabled" average and
    peak bandwidth values.  Thereafter, enable and disable interconnects
    when required rather than setting their bandwidths.
    Signed-off-by: default avatarAlex Elder <elder@linaro.org>
    Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
    9dd50068
ipa_power.c 13.5 KB