]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: Echoaudio - Add firmware cache #1
authorGiuliano Pochini <pochini@shiny.it>
Sun, 14 Feb 2010 17:15:34 +0000 (18:15 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 15 Feb 2010 09:36:51 +0000 (10:36 +0100)
commit56a31b9f4f7c034ea88f28330c4ee89cd0fcc196
tree0b26395a9d785f1684e2a7f489735ce577a8c1ac
parent4f724a9871d35a27b89c5006edd2007cc18b8b56
ALSA: Echoaudio - Add firmware cache #1

Changes the way the firmware is passed through functions.

When CONFIG_PM is enabled the firmware cannot be released because the
driver will need it again to resume the card.
With this patch the firmware is passed as an index of the struct
firmware card_fw[] in place of a pointer. That same index is then used
to locate the firmware in the firmware cache.

Signed-off-by: Giuliano Pochini <pochini@shiny.it>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
18 files changed:
sound/pci/echoaudio/darla20_dsp.c
sound/pci/echoaudio/darla24_dsp.c
sound/pci/echoaudio/echo3g_dsp.c
sound/pci/echoaudio/echoaudio.c
sound/pci/echoaudio/echoaudio.h
sound/pci/echoaudio/echoaudio_3g.c
sound/pci/echoaudio/echoaudio_dsp.c
sound/pci/echoaudio/gina20_dsp.c
sound/pci/echoaudio/gina24_dsp.c
sound/pci/echoaudio/indigo_dsp.c
sound/pci/echoaudio/indigodj_dsp.c
sound/pci/echoaudio/indigodjx_dsp.c
sound/pci/echoaudio/indigoio_dsp.c
sound/pci/echoaudio/indigoiox_dsp.c
sound/pci/echoaudio/layla20_dsp.c
sound/pci/echoaudio/layla24_dsp.c
sound/pci/echoaudio/mia_dsp.c
sound/pci/echoaudio/mona_dsp.c