diff options
| author | Lukasz Luba <[email protected]> | 2016-05-31 10:32:02 +0000 |
|---|---|---|
| committer | Zhang Rui <[email protected]> | 2016-06-01 14:21:19 +0000 |
| commit | f840ab18bdf2e415dac21d09fbbbd2873111bd48 (patch) | |
| tree | 41c3ba2ccc87af930cfaa0e2c523a9b118e3747f /fs/jbd2/commit.c | |
| parent | Merge branch 'uuid' (lib/uuid fixes from Andy) (diff) | |
| download | kernel-f840ab18bdf2e415dac21d09fbbbd2873111bd48.tar.gz kernel-f840ab18bdf2e415dac21d09fbbbd2873111bd48.zip | |
thermal: cpu_cooling: fix improper order during initialization
The freq_table array is not populated before calling
thermal_of_cooling_register. The code which populates the freq table was
introduced in commit f6859014.
This should be done before registering new thermal cooling device.
The log shows effects of this wrong decision.
[ 2.172614] cpu cpu1: Failed to get voltage for frequency 1984518656000: -34
[ 2.220863] cpu cpu0: Failed to get voltage for frequency 1984524416000: -34
Cc: <[email protected]> # 3.19+
Fixes: f6859014c7e7 ("thermal: cpu_cooling: Store frequencies in descending order")
Signed-off-by: Lukasz Luba <[email protected]>
Acked-by: Javi Merino <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Signed-off-by: Zhang Rui <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
