]> 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)
commitbb918c258c8200ead369ad363fb150d166f2f3f0
tree30a46cb8716a243fe250267ab1df899cecbc2707
parent9e3cbb867951d1936dc17d3a90a221bfee7c84de
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