linux/sound/pci
Randy Dunlap 80709beddb ALSA: ISA: not for M68K
[ Upstream commit 3c05f1477e62ea5a0a8797ba6a545b1dc751fb31 ]

On m68k, compiling drivers under SND_ISA causes build errors:

../sound/core/isadma.c: In function 'snd_dma_program':
../sound/core/isadma.c:33:17: error: implicit declaration of function 'claim_dma_lock' [-Werror=implicit-function-declaration]
   33 |         flags = claim_dma_lock();
      |                 ^~~~~~~~~~~~~~
../sound/core/isadma.c:41:9: error: implicit declaration of function 'release_dma_lock' [-Werror=implicit-function-declaration]
   41 |         release_dma_lock(flags);
      |         ^~~~~~~~~~~~~~~~

../sound/isa/sb/sb16_main.c: In function 'snd_sb16_playback_prepare':
../sound/isa/sb/sb16_main.c:253:72: error: 'DMA_AUTOINIT' undeclared (first use in this function)
  253 |         snd_dma_program(dma, runtime->dma_addr, size, DMA_MODE_WRITE | DMA_AUTOINIT);
      |                                                                        ^~~~~~~~~~~~
../sound/isa/sb/sb16_main.c:253:72: note: each undeclared identifier is reported only once for each function it appears in
../sound/isa/sb/sb16_main.c: In function 'snd_sb16_capture_prepare':
../sound/isa/sb/sb16_main.c:322:71: error: 'DMA_AUTOINIT' undeclared (first use in this function)
  322 |         snd_dma_program(dma, runtime->dma_addr, size, DMA_MODE_READ | DMA_AUTOINIT);
      |                                                                       ^~~~~~~~~~~~

and more...

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Jaroslav Kysela <perex@perex.cz>
Cc: Takashi Iwai <tiwai@suse.com>
Cc: alsa-devel@alsa-project.org
Cc: linux-m68k@lists.linux-m68k.org
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://lore.kernel.org/r/20211016062602.3588-1-rdunlap@infradead.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-11-26 10:47:16 +01:00
..
ac97
ali5451
asihpi ALSA: asihpi: fix iounmap in error handler 2020-10-01 13:18:20 +02:00
au88x0
aw2
ca0106 ALSA: ca0106: fix error code handling 2020-09-09 19:12:32 +02:00
cs46xx ALSA: pci: delete repeated words in comments 2020-09-03 11:26:41 +02:00
cs5535audio
ctxfi ALSA: ctxfi: cthw20k2: fix mask on conf to allow 4 bits 2021-03-09 11:09:38 +01:00
echoaudio ALSA: echoaudio: Fix potential Oops in snd_echo_resume() 2020-08-21 13:05:38 +02:00
emu10k1
hda ALSA: hda: Reduce udelay() at SKL+ position reporting 2021-11-17 09:48:42 +01:00
ice1712 ALSA: pci: delete repeated words in comments 2020-09-03 11:26:41 +02:00
korg1212
lola
lx6464es
mixart ALSA: mixart: Fix mutex deadlock 2020-11-24 13:29:20 +01:00
nm256
oxygen ALSA: pci: delete repeated words in comments 2020-09-03 11:26:41 +02:00
pcxhr
riptide
rme9652 ALSA: rme9652: don't disable if not enabled 2021-05-19 10:08:21 +02:00
trident
vx222
ymfpci
Kconfig ALSA: ISA: not for M68K 2021-11-26 10:47:16 +01:00
Makefile
ad1889.c
ad1889.h
ak4531_codec.c
als300.c
als4000.c
atiixp.c
atiixp_modem.c
azt3328.c
azt3328.h
bt87x.c
cmipci.c
cs4281.c
cs5530.c
ens1370.c
ens1371.c
es1938.c
es1968.c
fm801.c
intel8x0.c ALSA: intel8x0: Fix breakage at ac97 clock measurement 2021-07-14 16:52:59 +02:00
intel8x0m.c
maestro3.c
rme32.c
rme96.c
sis7019.c
sis7019.h
sonicvibes.c
via82xx.c
via82xx_modem.c