diff options
author | Benjamin Herrenschmidt | 2005-05-02 08:12:00 +0200 |
---|---|---|
committer | Linus Torvalds | 2005-05-02 17:15:22 +0200 |
commit | e521dca64e0f82d844928c5ee88d82fdced50cbe (patch) | |
tree | c894a71c7d1a22e6c814f202532ec55616665adb /drivers/cpufreq | |
parent | [PATCH] ppc32: More fixlet for pmac sound (diff) | |
download | kernel-qcow2-linux-e521dca64e0f82d844928c5ee88d82fdced50cbe.tar.gz kernel-qcow2-linux-e521dca64e0f82d844928c5ee88d82fdced50cbe.tar.xz kernel-qcow2-linux-e521dca64e0f82d844928c5ee88d82fdced50cbe.zip |
[PATCH] ppc32: Fix might_sleep() warning with clock spreading
The clock spreading disable/enable code was called to late/early during
the suspend/resume code on some laptops and would trigger a
might_sleep() warning due to the down() call in the low level i2c code.
This fixes it by calling those functions earlier/later when interrupts
are still enabled.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/cpufreq')
0 files changed, 0 insertions, 0 deletions