linux-stable/Documentation/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
..
cards ALSA: multisound.sh: update module namespace 2018-06-26 17:45:16 +02:00
designs ALSA: pcm: add a documentation for tracepoints 2017-07-02 11:15:52 +02:00
hd-audio ALSA: hda - Update descriptions about new position_fix values 2019-08-28 16:34:36 +02:00
kernel-api ALSA: docs: Update about the new PCM sync_stop ops 2019-11-20 19:39:54 +01:00
soc ASoC: doc: Fix typos in dpcm.rst 2019-02-08 12:58:31 +00:00
alsa-configuration.rst ALSA: cmipci: Allow disabling MPU port via module option 2019-12-17 09:16:15 +01:00
index.rst docs: index.rst: don't use genindex for pdf output 2019-07-31 13:31:16 -06:00