diff options
author | Stas Sergeev <stsp@aknet.ru> | 2009-11-01 11:13:19 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-11-01 11:13:19 +0100 |
commit | bcc2c6b7cb320d10c7fcccd87dce87f4384b4332 (patch) | |
tree | 24663a166d0f4d6901eafad9294e7e54647b5442 /sound/drivers/pcsp/pcsp.h | |
parent | e87a3dd33eab30b4db539500064a9584867e4f2c (diff) | |
download | kernel_samsung_smdk4412-bcc2c6b7cb320d10c7fcccd87dce87f4384b4332.tar.gz kernel_samsung_smdk4412-bcc2c6b7cb320d10c7fcccd87dce87f4384b4332.tar.bz2 kernel_samsung_smdk4412-bcc2c6b7cb320d10c7fcccd87dce87f4384b4332.zip |
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>
Diffstat (limited to 'sound/drivers/pcsp/pcsp.h')
-rw-r--r-- | sound/drivers/pcsp/pcsp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/drivers/pcsp/pcsp.h b/sound/drivers/pcsp/pcsp.h index 174dd2ff0f2..1e123077923 100644 --- a/sound/drivers/pcsp/pcsp.h +++ b/sound/drivers/pcsp/pcsp.h @@ -83,6 +83,6 @@ extern enum hrtimer_restart pcsp_do_timer(struct hrtimer *handle); extern void pcsp_sync_stop(struct snd_pcsp *chip); extern int snd_pcsp_new_pcm(struct snd_pcsp *chip); -extern int snd_pcsp_new_mixer(struct snd_pcsp *chip); +extern int snd_pcsp_new_mixer(struct snd_pcsp *chip, int nopcm); #endif |