ALSA: cs46xx: Move DSP blob out of kernel tree
PATCH 1/1 ALSA: cs46xx: Move DSP blob out of kernel tree
... and load from the external firmware files.
The firmware binary blobs in cs46xx driver have been in a gray zone regarding the license. It's most likely should be OK, but still unclear. And, the size isn't that small, too.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=10750
Signed-off-by Takashi Iwai <[email protected]>
--- sound/pci/Kconfig | 1 + sound/pci/cs46xx/cs46xx.h | 5 + sound/pci/cs46xx/cs46xx_image.h | 3468 ------------------------------------ sound/pci/cs46xx/cs46xx_lib.c | 265 ++- sound/pci/cs46xx/imgs/cwc4630.h | 320 ---- sound/pci/cs46xx/imgs/cwcasync.h | 176 -- sound/pci/cs46xx/imgs/cwcbinhack.h | 48 - sound/pci/cs46xx/imgs/cwcdma.asp | 170 -- sound/pci/cs46xx/imgs/cwcdma.h | 68 - sound/pci/cs46xx/imgs/cwcsnoop.h | 46 - 10 files changed, 226 insertions(+), 4341 deletions(-) delete mode 100644 sound/pci/cs46xx/cs46xx_image.h delete mode 100644 sound/pci/cs46xx/imgs/cwc4630.h delete mode 100644 sound/pci/cs46xx/imgs/cwcasync.h delete mode 100644 sound/pci/cs46xx/imgs/cwcbinhack.h delete mode 100644 sound/pci/cs46xx/imgs/cwcdma.asp delete mode 100644 sound/pci/cs46xx/imgs/cwcdma.h delete mode 100644 sound/pci/cs46xx/imgs/cwcsnoop.h
sound/pci/Kconfig +1 -0
@@ -254,6 +254,7 @@ config SND_CS46XX tristate "Cirrus Logic (Sound Fusion) CS4280/CS461x/CS462x/CS463x" select SND_RAWMIDI select SND_AC97_CODEC + select FW_LOADER help Say Y here to include support for Cirrus Logic CS4610/CS4612/ CS4614/CS4615/CS4622/CS4624/CS4630/CS4280 chips.
sound/pci/cs46xx/cs46xx.h +5 -0
@@ -1716,9 +1716,14 @@ struct snd_cs46xx {struct snd_pcm *pcm_rear;struct snd_pcm *pcm_center_lfe;struct snd_pcm *pcm_iec958; + +#define CS46XX_DSP_MODULES 5 +struct dsp_module_desc *modules[CS46XX_DSP_MODULES ];#else /* for compatibility */ struct snd_cs46xx_pcm *playback_pcm;unsigned int play_ctl; + +struct ba1_struct *ba1;#endif #ifdef CONFIG_PM_SLEEP
sound/pci/cs46xx/cs46xx_image.h deleted +0 -0
sound/pci/cs46xx/cs46xx_lib.c +220 -45
317 lines not on this page · raw message
sound/pci/cs46xx/imgs/cwc4630.h deleted +0 -0
sound/pci/cs46xx/imgs/cwcasync.h deleted +0 -0
sound/pci/cs46xx/imgs/cwcbinhack.h deleted +0 -0
sound/pci/cs46xx/imgs/cwcdma.asp deleted +0 -0
sound/pci/cs46xx/imgs/cwcdma.h deleted +0 -0
sound/pci/cs46xx/imgs/cwcsnoop.h deleted +0 -0
Signature · 1 line
1.8.4.3