Skip to content

Commit 7e0af29

Browse files
cladischJaroslav Kysela
authored andcommitted
[ALSA] add MODULE_FIRMWARE entries
Add MODULE_FIRMWARE() entries, where appropriate. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
1 parent 1327e2b commit 7e0af29

23 files changed

Lines changed: 109 additions & 5 deletions

File tree

‎sound/drivers/vx/vx_hwdep.c‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,20 @@
3030

3131
#ifdef SND_VX_FW_LOADER
3232

33+
MODULE_FIRMWARE("vx/bx_1_vxp.b56");
34+
MODULE_FIRMWARE("vx/bx_1_vp4.b56");
35+
MODULE_FIRMWARE("vx/x1_1_vx2.xlx");
36+
MODULE_FIRMWARE("vx/x1_2_v22.xlx");
37+
MODULE_FIRMWARE("vx/x1_1_vxp.xlx");
38+
MODULE_FIRMWARE("vx/x1_1_vp4.xlx");
39+
MODULE_FIRMWARE("vx/bd56002.boot");
40+
MODULE_FIRMWARE("vx/bd563v2.boot");
41+
MODULE_FIRMWARE("vx/bd563s3.boot");
42+
MODULE_FIRMWARE("vx/l_1_vx2.d56");
43+
MODULE_FIRMWARE("vx/l_1_v22.d56");
44+
MODULE_FIRMWARE("vx/l_1_vxp.d56");
45+
MODULE_FIRMWARE("vx/l_1_vp4.d56");
46+
3347
int snd_vx_setup_firmware(struct vx_core *chip)
3448
{
3549
static char *fw_files[VX_TYPE_NUMS][4] = {

‎sound/isa/sb/sb16_csp.c‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@
3636
MODULE_AUTHOR("Uros Bizjak <uros@kss-loka.si>");
3737
MODULE_DESCRIPTION("ALSA driver for SB16 Creative Signal Processor");
3838
MODULE_LICENSE("GPL");
39+
#ifndef CONFIG_SND_SB16_CSP_FIRMWARE_IN_KERNEL
40+
MODULE_FIRMWARE("sb16/mulaw_main.csp");
41+
MODULE_FIRMWARE("sb16/alaw_main.csp");
42+
MODULE_FIRMWARE("sb16/ima_adpcm_init.csp");
43+
MODULE_FIRMWARE("sb16/ima_adpcm_playback.csp");
44+
MODULE_FIRMWARE("sb16/ima_adpcm_capture.csp");
45+
#endif
3946

4047
#ifdef SNDRV_LITTLE_ENDIAN
4148
#define CSP_HDR_VALUE(a,b,c,d) ((a) | ((b)<<8) | ((c)<<16) | ((d)<<24))

‎sound/isa/wavefront/wavefront_fx.c‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,3 +298,7 @@ snd_wavefront_fx_start (snd_wavefront_t *dev)
298298
#endif
299299
return err;
300300
}
301+
302+
#ifndef CONFIG_SND_WAVEFRONT_FIRMWARE_IN_KERNEL
303+
MODULE_FIRMWARE("yamaha/yss225_registers.bin");
304+
#endif

‎sound/pci/echoaudio/darla20.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@
5656
#include <asm/atomic.h>
5757
#include "echoaudio.h"
5858

59+
MODULE_FIRMWARE("ea/darla20_dsp.fw");
60+
5961
#define FW_DARLA20_DSP 0
6062

6163
static const struct firmware card_fw[] = {

‎sound/pci/echoaudio/darla24.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@
6060
#include <asm/atomic.h>
6161
#include "echoaudio.h"
6262

63+
MODULE_FIRMWARE("ea/darla24_dsp.fw");
64+
6365
#define FW_DARLA24_DSP 0
6466

6567
static const struct firmware card_fw[] = {

‎sound/pci/echoaudio/echo3g.c‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@
6868
#include <asm/atomic.h>
6969
#include "echoaudio.h"
7070

71+
MODULE_FIRMWARE("ea/loader_dsp.fw");
72+
MODULE_FIRMWARE("ea/echo3g_dsp.fw");
73+
MODULE_FIRMWARE("ea/3g_asic.fw");
74+
7175
#define FW_361_LOADER 0
7276
#define FW_ECHO3G_DSP 1
7377
#define FW_3G_ASIC 2

‎sound/pci/echoaudio/gina20.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@
6060
#include <asm/atomic.h>
6161
#include "echoaudio.h"
6262

63+
MODULE_FIRMWARE("ea/gina20_dsp.fw");
64+
6365
#define FW_GINA20_DSP 0
6466

6567
static const struct firmware card_fw[] = {

‎sound/pci/echoaudio/gina24.c‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,12 @@
6666
#include <asm/atomic.h>
6767
#include "echoaudio.h"
6868

69+
MODULE_FIRMWARE("ea/loader_dsp.fw");
70+
MODULE_FIRMWARE("ea/gina24_301_dsp.fw");
71+
MODULE_FIRMWARE("ea/gina24_361_dsp.fw");
72+
MODULE_FIRMWARE("ea/gina24_301_asic.fw");
73+
MODULE_FIRMWARE("ea/gina24_361_asic.fw");
74+
6975
#define FW_361_LOADER 0
7076
#define FW_GINA24_301_DSP 1
7177
#define FW_GINA24_361_DSP 2

‎sound/pci/echoaudio/indigo.c‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@
5858
#include <asm/atomic.h>
5959
#include "echoaudio.h"
6060

61+
MODULE_FIRMWARE("ea/loader_dsp.fw");
62+
MODULE_FIRMWARE("ea/indigo_dsp.fw");
63+
6164
#define FW_361_LOADER 0
6265
#define FW_INDIGO_DSP 1
6366

‎sound/pci/echoaudio/indigodj.c‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@
5858
#include <asm/atomic.h>
5959
#include "echoaudio.h"
6060

61+
MODULE_FIRMWARE("ea/loader_dsp.fw");
62+
MODULE_FIRMWARE("ea/indigo_dj_dsp.fw");
63+
6164
#define FW_361_LOADER 0
6265
#define FW_INDIGO_DJ_DSP 1
6366

0 commit comments

Comments
 (0)