12 Sep
2011
12 Sep
'11
9:53 a.m.
At Sun, 04 Sep 2011 22:32:44 +0200, Clemens Ladisch wrote:
Raymond Yau wrote:
The possible way is to save the contents of 128K memory mapped I/O ports before suspend to non-volatile memory and restore them after resume
Is there any way for alsa driver to allocate non-volatile memory ?
'Normal' memory is saved over suspend. Just use {k|v}malloc.
If it's a 128kB bulk memory, vmalloc() is a more sensible choice.
Takashi