linux/sound/pci
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: remove unused variable 'snd_ac97_controls_master_mono' 2019-08-09 11:28:43 +02:00
ali5451 ALSA: ali5451: Support PCM sync_stop 2019-12-11 07:25:35 +01:00
asihpi ALSA: asihpi: Drop superfluous ioctl PCM ops 2019-12-11 07:25:30 +01:00
au88x0 ALSA: au88x0: Support PCM sync_stop 2019-12-11 07:25:38 +01:00
aw2 ALSA: aw2: Support PCM sync_stop 2019-12-11 07:25:39 +01:00
ca0106 ALSA: ca0106: Support PCM sync_stop 2019-12-11 07:25:40 +01:00
cs46xx ALSA: cs46xx: Support PCM sync_stop 2019-12-11 07:25:41 +01:00
cs5535audio ALSA: cs5535audio: Support PCM sync_stop 2019-12-11 07:25:42 +01:00
ctxfi ALSA: ctxfi: Support PCM sync_stop 2019-12-11 07:25:42 +01:00
echoaudio ALSA: echoaudio: Support PCM sync_stop 2019-12-11 07:25:44 +01:00
emu10k1 ALSA: emu10k1: Support PCM sync_stop 2019-12-11 07:25:45 +01:00
hda ALSA: hda: Unify get_response handling 2019-12-13 14:36:52 +01:00
ice1712 ALSA: ice1724: Support PCM sync_stop 2019-12-11 07:25:48 +01:00
korg1212 ALSA: korg1212: Support PCM sync_stop 2019-12-11 07:25:48 +01:00
lola ALSA: lola: Support PCM sync_stop 2019-12-11 07:25:49 +01:00
lx6464es ALSA: lx6464es: Support PCM sync_stop 2019-12-11 07:25:59 +01:00
mixart ALSA: mixart: Support PCM sync_stop 2019-12-11 07:25:59 +01:00
nm256 ALSA: nm256: Support PCM sync_stop 2019-12-11 07:25:50 +01:00
oxygen ALSA: oxygen: Support PCM sync_stop 2019-12-11 07:25:50 +01:00
pcxhr ALSA: pcxhr: Support PCM sync_stop 2019-12-11 07:25:59 +01:00
riptide ALSA: riptide: Support PCM sync_stop 2019-12-11 07:25:51 +01:00
rme9652 ALSA: rme9652: Support PCM sync_stop 2019-12-11 07:25:52 +01:00
trident ALSA: trident: Support PCM sync_stop 2019-12-11 07:25:53 +01:00
vx222 ALSA: vx222: Support PCM sync_stop 2019-12-11 07:26:00 +01:00
ymfpci ALSA: ymfpci: Support PCM sync_stop 2019-12-11 07:25:54 +01:00
ad1889.c ALSA: ad1889: Support PCM sync_stop 2019-12-11 07:25:35 +01:00
ad1889.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ak4531_codec.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
als300.c ALSA: als300: Support PCM sync_stop 2019-12-11 07:25:38 +01:00
als4000.c ALSA: pci: Drop superfluous ioctl PCM ops 2019-12-11 07:25:31 +01:00
atiixp_modem.c ALSA: atiixp: Support PCM sync_stop 2019-12-11 07:25:38 +01:00
atiixp.c ALSA: atiixp: Support PCM sync_stop 2019-12-11 07:25:38 +01:00
azt3328.c ALSA: azt3328: Support PCM sync_stop 2019-12-11 07:25:39 +01:00
azt3328.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
bt87x.c ALSA: bt87x: Support PCM sync_stop 2019-12-11 07:25:40 +01:00
cmipci.c ALSA: cmipci: Allow disabling MPU port via module option 2019-12-17 09:16:15 +01:00
cs4281.c ALSA: cs4281: Support PCM sync_stop 2019-12-11 07:25:41 +01:00
cs5530.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 118 2019-05-24 17:39:02 +02:00
ens1370.c ALSA: ens137x: Support PCM sync_stop 2019-12-11 07:25:45 +01:00
ens1371.c
es1938.c ALSA: es1938: Support PCM sync_stop 2019-12-11 07:25:45 +01:00
es1968.c ALSA: es1968: Support PCM sync_stop 2019-12-11 07:25:46 +01:00
fm801.c ALSA: fm801: Support PCM sync_stop 2019-12-11 07:25:46 +01:00
intel8x0.c ALSA: intel8x0: Support PCM sync_stop 2019-12-11 07:25:48 +01:00
intel8x0m.c ALSA: intel8x0: Support PCM sync_stop 2019-12-11 07:25:48 +01:00
Kconfig sound: Fix Kconfig indentation 2019-10-07 03:53:03 +02:00
maestro3.c ALSA: maestro3: Support PCM sync_stop 2019-12-11 07:25:49 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rme32.c ALSA: rme32: Support PCM sync_stop 2019-12-11 07:25:51 +01:00
rme96.c ALSA: rme96: Support PCM sync_stop 2019-12-11 07:25:51 +01:00
sis7019.c ALSA: sis7019: Support PCM sync_stop 2019-12-11 07:25:52 +01:00
sis7019.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 274 2019-06-05 17:30:30 +02:00
sonicvibes.c ALSA: sonicvibes: Support PCM sync_stop 2019-12-11 07:25:53 +01:00
via82xx_modem.c ALSA: via82xx: Support PCM sync_stop 2019-12-11 07:25:54 +01:00
via82xx.c ALSA: via82xx: Support PCM sync_stop 2019-12-11 07:25:54 +01:00