diff options
author | Viresh Kumar <[email protected]> | 2013-06-19 14:22:55 +0530 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2013-06-24 13:14:59 +0200 |
commit | e15d8309e961ea960dbe40f94fd7ac64f8efe3f6 (patch) | |
tree | b6ce75c518b1f92d0d82da71eb8522e64b64e236 /lib/mpi/mpi-bit.c | |
parent | 0956df9c842a534b0b36f62f3a0fdb5fca19dc96 (diff) |
cpufreq: ACPI: call CPUFREQ_POSTCHANGE notfier in error cases
PRECHANGE and POSTCHANGE notifiers must be called in groups, i.e either both
should be called or both shouldn't be.
In case we have started PRECHANGE notifier and found an error, we
must call POSTCHANGE notifier with freqs.new = freqs.old to
guarantee that the sequence of calling notifiers is complete.
This patch fixes it.
Signed-off-by: Viresh Kumar <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions