android_kernel_motorola_sm6225/sound/pci/echoaudio
Giuliano Pochini 4f8ada444c ALSA: Echoaudio - Add firmware cache #2
This patch implements a simple cache for the firmware files when CONFIG_PM is defined.

This patch changes get_firmware(), free_firmware() and adds
free_firmware_cache(). The first two functions implement a very
simple cache and the latter is used to actually release all the stored
firmwares when the module is unloaded. 
When CONFIG_PM is not enabled those functions act as before, that is
free_firmware() releases the firmware immediately and
free_firmware_cache() does nothing.

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