Skip to content
Commit aa8aba69 authored by Ben Dooks's avatar Ben Dooks
Browse files

[ARM] S3C: Do not kmalloc/kfree during inner suspend code.



The PM CRC checking code kmallocs an area to save a set of
CRC values during suspend. This triggers a warning due to the
call of a function that might sleep whilst the system is not
in a valid state to do so.

Move the allocation and free to points in the suspend and resume
process where they can call a function that might-sleep.

Signed-off-by: default avatarBen Dooks <ben-linux@fluff.org>
parent 663a8304
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment