From: Benjamin Herrenschmidt Date: Fri, 29 Apr 2005 14:40:12 +0000 (-0700) Subject: [PATCH] Add suspend method to cpufreq core X-Git-Tag: v2.6.12-rc4~136^2~199 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42d4dc3f4e1ec1396371aac89d0dccfdd977191b;p=pandora-kernel.git [PATCH] Add suspend method to cpufreq core In order to properly fix some issues with cpufreq vs. sleep on PowerBooks, I had to add a suspend callback to the pmac_cpufreq driver. I must force a switch to full speed before sleep and I switch back to previous speed on resume. I also added a driver flag to disable the warnings in suspend/resume since it is expected in this case to have different speed (and I want it to fixup the jiffies properly). Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed