ALSA: snd-pcsp: add nopcm mode
authorStas Sergeev <stsp@aknet.ru>
Sun, 1 Nov 2009 10:13:19 +0000 (11:13 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sun, 1 Nov 2009 10:13:19 +0000 (11:13 +0100)
commitbcc2c6b7cb320d10c7fcccd87dce87f4384b4332
tree24663a166d0f4d6901eafad9294e7e54647b5442
parente87a3dd33eab30b4db539500064a9584867e4f2c
ALSA: snd-pcsp: add nopcm mode

Currently, if the high-res timers are unavailable, snd-pcsp does not
initialize. People who choose it over pcspkr, loose their console beeps
in that case and get annoyed.
With this patch, the console beeps remain regardless of the high-res
timers. Additionally, the "nopcm" modparam is added to forcibly
disable the PCM capabilities of the driver.

Signed-off-by: Stas Sergeev <stsp@aknet.ru>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Documentation/sound/alsa/ALSA-Configuration.txt
sound/drivers/pcsp/pcsp.c
sound/drivers/pcsp/pcsp.h
sound/drivers/pcsp/pcsp_mixer.c