linux/sound
Takashi Iwai d8cac6207e ALSA: cmipci: Allow disabling MPU port via module option
Patrick May reported that his sound card with CMI8378 chip causes a
crash / reboot when accessing the MIDI port that isn't actually
present on the board.  Moreover, despite of the documentation,
passing mpu_port=0 doesn't disable the MIDI port on this board.

It implies that the chip is a newer revision and the MPU401 port is
integrated and mapped on the PCI register.  For this chip model, the
driver enables the MPU port unconditionally, so far.

Although fixing the unexpected reboot would be the best solution, it's
not so trivial to identify the cause.  So, as a plan B, this patch
extends the existing mpu_port option usage to allow disabling the port
by specifying the value 0, just like we applied for fm_port option in
commit 2f24d159d5 ("[ALSA] cmipci - Allow to disable integrated FM
port").  As default, the MPU port is still enabled, but user can pass
mpu_port=0 to disable it.

Reported-and-tested-by: Patrick May <dusthillresident@gmail.com>
Link: https://lore.kernel.org/r/20191217081448.1144-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2019-12-17 09:16:15 +01:00
..
ac97 ALSA: ac97: Fix double free of ac97_codec_device 2019-07-23 14:16:11 +02:00
aoa ALSA: aoa: Drop superfluous ioctl PCM ops 2019-12-11 07:25:25 +01:00
arm ALSA: arm: Drop superfluous ioctl PCM ops 2019-12-11 07:25:26 +01:00
atmel ALSA: atmel: Drop superfluous ioctl PCM ops 2019-12-11 07:25:26 +01:00
core ALSA: control: remove useless assignment in .info callback of PCM chmap element 2019-12-14 16:39:05 +01:00
drivers ALSA: drivers: Drop superfluous ioctl PCM ops 2019-12-11 07:25:26 +01:00
firewire ALSA: firewire: Drop superfluous ioctl PCM ops 2019-12-11 07:25:27 +01:00
hda ALSA: hda: Comment about snd_hdac_bus_update_rirb() and spinlock 2019-12-14 18:56:06 +01:00
i2c ALSA: i2c: ak4xxx-adda: Fix a possible null pointer dereference in build_adc_controls() 2019-07-26 14:25:37 +02:00
isa ALSA: wss: Support PCM sync_stop 2019-12-11 07:25:58 +01:00
mips ALSA: mips: Drop superfluous ioctl PCM ops 2019-12-11 07:25:28 +01:00
oss compat_ioctl: remove translation for sound ioctls 2019-10-23 17:23:45 +02:00
parisc ALSA: parisc: Drop superfluous ioctl PCM ops 2019-12-11 07:25:29 +01:00
pci ALSA: cmipci: Allow disabling MPU port via module option 2019-12-17 09:16:15 +01:00
pcmcia ALSA: vxpocket: Support PCM sync_stop 2019-12-11 07:26:01 +01:00
ppc ALSA: ppc: Drop superfluous ioctl PCM ops 2019-12-11 07:25:32 +01:00
sh ALSA: sh: Drop superfluous ioctl PCM ops 2019-12-11 07:25:32 +01:00
soc sound updates for 5.5-rc1 2019-11-26 20:04:35 -08:00
sparc ALSA: sparc: Drop superfluous ioctl PCM ops 2019-12-11 07:25:33 +01:00
spi ALSA: spi: Drop superfluous ioctl PCM ops 2019-12-11 07:25:33 +01:00
synth treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
usb ALSA: usb-audio: Support PCM sync_stop 2019-12-11 07:26:01 +01:00
x86 ALSA: x86: Drop superfluous ioctl PCM ops 2019-12-11 07:25:34 +01:00
xen ALSA: xen: Drop superfluous ioctl PCM ops 2019-12-11 07:25:35 +01:00
ac97_bus.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
last.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
Makefile
sound_core.c sound: fix a memory leak bug 2019-08-08 08:18:32 +02:00