[CPUFREQ] S3C64xx: Notify transition complete as soon as frequency changed
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 22 Jun 2011 14:08:56 +0000 (15:08 +0100)
committerDave Jones <davej@redhat.com>
Wed, 13 Jul 2011 22:29:55 +0000 (18:29 -0400)
commitfb3b1fefaaccdbdc716db0963ba41fb6b4221e60
tree219a9bfe8331bbed5282a81842a62a544c25b05b
parentc6e2d68558b612fdfdb0d7ddcb51ad4578b81eba
[CPUFREQ] S3C64xx: Notify transition complete as soon as frequency changed

The CPUFREQ_POSTCHANGE notification is used to update things that depend on
the system clock rates. Since this may include the interfaces used to talk
to the regulators do the notification before we try to update regulators
to reflect lowered system clock rate.

The voltage scaling is just a power optimisation and may not happen at all
so there's no concern about it not having completed.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Dave Jones <davej@redhat.com>
drivers/cpufreq/s3c64xx-cpufreq.c