]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7317378c39c9020b378d3e7044158dbab7c6e584
tree30a46cb8716a243fe250267ab1df899cecbc2707
parenta484507262939dde60e12fac416dc50def0f8ebb
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