ALSA: hdsp: improve firmware caching
authorTakashi Iwai <tiwai@suse.de>
Thu, 22 Nov 2012 15:55:11 +0000 (16:55 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 22 Nov 2012 16:48:07 +0000 (17:48 +0100)
commit90caaef6a1ce2ec6675b1dc5afd57767954ab7e8
tree30a46cb8716a243fe250267ab1df899cecbc2707
parent7009fa568b126a07b2de8ead103e378534453830
ALSA: hdsp: improve firmware caching

As the recent firmware code tries to reread and cache the firmware by
itself, it's even better to keep the struct firmware data instead of
keeping a local copy.  Also, it makes little sense to disable the fw
loader for this driver, so added the explicit dependency, too.

Last, but not least, allocate the firmware data loaded via ioctl in
vmalloc'ed buffer instead, as the firmware size isn't that small.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/Kconfig
sound/pci/rme9652/hdsp.c