]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: Echoaudio - Add suspend support #2
authorGiuliano Pochini <pochini@shiny.it>
Sun, 14 Feb 2010 17:16:10 +0000 (18:16 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 15 Feb 2010 09:40:15 +0000 (10:40 +0100)
commit5448330c86fbd849ffae2ffd86d08d5e97c4681f
treea9afb96040863610ca4348d95d120cd430341be0
parent41083bba8cf41774b6ad2d7be6e1b2aa5d2daea6
ALSA: Echoaudio - Add suspend support #2

This patch adds rearranges parts of the initialization code and adds
suspend and resume callbacks.

This patch adds suspend and resume callbacks.
It also rearranges parts of the initialization code so it can be
used in both the first initialization (when the module is loaded we
also have to load default settings) and the resume callback (where
we have to restore the previous settings).

Signed-off-by: Giuliano Pochini <pochini@shiny.it>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/echoaudio/echoaudio.c
sound/pci/echoaudio/echoaudio.h
sound/pci/echoaudio/echoaudio_dsp.c