ALSA: seq: Fix CONFIG_SND_SEQ_MIDI dependency
authorTakashi Iwai <tiwai@suse.de>
Fri, 11 Aug 2017 07:51:41 +0000 (09:51 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 11 Aug 2017 07:51:41 +0000 (09:51 +0200)
commit4d3a869333b74352c372077f316756d38cae09b1
tree146332c9431f1592b3af7c2f61d98298ba521caf
parent5ef26e966d3fd105ad9a7e8e8f6d12c7fbd4c03d
ALSA: seq: Fix CONFIG_SND_SEQ_MIDI dependency

The commit 0181307abc1d ("ALSA: seq: Reorganize kconfig and build")
rewrote the dependency of each sequencer module in a standard way, but
there was one change applied mistakenly: CONFIG_SND_SEQ_MIDI isn't
enabled properly by CONFIG_SND_RAWMIDI.  I seem to have changed the
wrong one instead, CONFIG_SND_SEQ_MIDI_EMUL, which is eventually
reverse-selected by CONFIG_SND_SEQ_MIDI itself.  This ended up the
lack of snd-seq-midi module as reported below.

The fix is to put def_tristate properly to CONFIG_SND_SEQ_MIDI instead
of *_MIDI_EMUL entry.

Fixes: 0181307abc1d ("ALSA: seq: Reorganize kconfig and build")
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=196633
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/seq/Kconfig