android_kernel_xiaomi_sm8350/sound/pci/echoaudio
Giuliano Pochini ad3499f466 ALSA: Echoaudio - Add suspend support #1
Move the controls init code outside the init_hw() function because is must
not be called during resume.

This patch moves the code that initializes the card's controls with
default valued from the init_hw() function into a separated
set_mixer_defaults() function (one for each of the 16 supported
cards). This change is necessary because during resume we must
resurrect the hardware without losing the previous
settings. set_mixer_defaults() must be called only once when the
module is loaded.

Signed-off-by: Giuliano Pochini <pochini@shiny.it>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2010-02-15 10:39:22 +01:00
..
darla20_dsp.c ALSA: Echoaudio - Add suspend support #1 2010-02-15 10:39:22 +01:00
darla20.c sound: use DEFINE_PCI_DEVICE_TABLE 2010-02-09 11:08:33 +01:00
darla24_dsp.c ALSA: Echoaudio - Add suspend support #1 2010-02-15 10:39:22 +01:00
darla24.c sound: use DEFINE_PCI_DEVICE_TABLE 2010-02-09 11:08:33 +01:00
echo3g_dsp.c ALSA: Echoaudio - Add suspend support #1 2010-02-15 10:39:22 +01:00
echo3g.c sound: use DEFINE_PCI_DEVICE_TABLE 2010-02-09 11:08:33 +01:00
echoaudio_3g.c ALSA: Echoaudio - Add firmware cache #1 2010-02-15 10:36:51 +01:00
echoaudio_dsp.c ALSA: Echoaudio - Add firmware cache #1 2010-02-15 10:36:51 +01:00
echoaudio_dsp.h ALSA: Echoaudio: add support for Indigo express cards 2009-03-19 08:17:57 +01:00
echoaudio_gml.c
echoaudio.c ALSA: Echoaudio - Add firmware cache #2 2010-02-15 10:38:10 +01:00
echoaudio.h ALSA: Echoaudio - Add firmware cache #2 2010-02-15 10:38:10 +01:00
gina20_dsp.c ALSA: Echoaudio - Add suspend support #1 2010-02-15 10:39:22 +01:00
gina20.c sound: use DEFINE_PCI_DEVICE_TABLE 2010-02-09 11:08:33 +01:00
gina24_dsp.c ALSA: Echoaudio - Add suspend support #1 2010-02-15 10:39:22 +01:00
gina24.c sound: use DEFINE_PCI_DEVICE_TABLE 2010-02-09 11:08:33 +01:00
indigo_dsp.c ALSA: Echoaudio - Add suspend support #1 2010-02-15 10:39:22 +01:00
indigo_express_dsp.c ALSA: Echoaudio - Add suspend support #1 2010-02-15 10:39:22 +01:00
indigo.c sound: use DEFINE_PCI_DEVICE_TABLE 2010-02-09 11:08:33 +01:00
indigodj_dsp.c ALSA: Echoaudio - Add suspend support #1 2010-02-15 10:39:22 +01:00
indigodj.c sound: use DEFINE_PCI_DEVICE_TABLE 2010-02-09 11:08:33 +01:00
indigodjx_dsp.c ALSA: Echoaudio - Add suspend support #1 2010-02-15 10:39:22 +01:00
indigodjx.c sound: use DEFINE_PCI_DEVICE_TABLE 2010-02-09 11:08:33 +01:00
indigoio_dsp.c ALSA: Echoaudio - Add suspend support #1 2010-02-15 10:39:22 +01:00
indigoio.c sound: use DEFINE_PCI_DEVICE_TABLE 2010-02-09 11:08:33 +01:00
indigoiox_dsp.c ALSA: Echoaudio - Add suspend support #1 2010-02-15 10:39:22 +01:00
indigoiox.c sound: use DEFINE_PCI_DEVICE_TABLE 2010-02-09 11:08:33 +01:00
layla20_dsp.c ALSA: Echoaudio - Add suspend support #1 2010-02-15 10:39:22 +01:00
layla20.c sound: use DEFINE_PCI_DEVICE_TABLE 2010-02-09 11:08:33 +01:00
layla24_dsp.c ALSA: Echoaudio - Add suspend support #1 2010-02-15 10:39:22 +01:00
layla24.c sound: use DEFINE_PCI_DEVICE_TABLE 2010-02-09 11:08:33 +01:00
Makefile ALSA: Echoaudio: add support for Indigo express cards 2009-03-19 08:17:57 +01:00
mia_dsp.c ALSA: Echoaudio - Add suspend support #1 2010-02-15 10:39:22 +01:00
mia.c sound: use DEFINE_PCI_DEVICE_TABLE 2010-02-09 11:08:33 +01:00
midi.c ALSA: echoaudio - replace uses of __constant_{endian} 2009-02-12 00:24:11 +01:00
mona_dsp.c ALSA: Echoaudio - Add suspend support #1 2010-02-15 10:39:22 +01:00
mona.c sound: use DEFINE_PCI_DEVICE_TABLE 2010-02-09 11:08:33 +01:00