diff options
author | Sivaram Nair <sivaramn@nvidia.com> | 2012-12-18 12:52:50 (GMT) |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-03 12:11:05 (GMT) |
commit | 0e5537b30d3029d784226ab51c2b923d1155b553 (patch) | |
tree | 011a828504a97450442738363560804024f54a02 /sound/isa/ad1848/Makefile | |
parent | d1c3ed669a2d452cacfb48c2d171a1f364dae2ed (diff) | |
download | linux-fsl-qoriq-0e5537b30d3029d784226ab51c2b923d1155b553.tar.xz |
cpuidle: Fix finding state with min power_usage
Since cpuidle_state.power_usage is a signed value, use INT_MAX (instead
of -1) to init the local copies so that functions that tries to find
cpuidle states with minimum power usage works correctly even if they use
non-negative values.
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'sound/isa/ad1848/Makefile')
0 files changed, 0 insertions, 0 deletions