Re: 2.5.14+ ALSA OSS emulation

Linus Torvalds (torvalds@transmeta.com)
Mon, 20 May 2002 17:59:29 +0000 (UTC)


In article <m179bTr-0005khC@gherkin.frus.com>,
Bob_Tracy <rct@gherkin.frus.com> wrote:
>In the 2.5.14 patchset, the following change was made in
>linux/sound/core/Config.in:
>
>-bool ' OSS API emulation' CONFIG_SND_OSSEMUL $CONFIG_SND
>+dep_bool ' OSS API emulation' CONFIG_SND_OSSEMUL $CONFIG_SND
>
>This breaks the OSS API emulation for people building their ALSA sound
>drivers as modules (CONFIG_SND == "m"). The following patch applied
>against the 2.5.16 kernel accomplishes what I think the author intended:

Good catch.

However, the simpler fix is to use "dep_mbool", which exists exactly for
this reason.

Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/