From f1ff1f85f5d935d83b5a841ae5e8a101acd6e4c2 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Thu, 5 Feb 2004 18:00:18 +0100 Subject: ALSA CVS update - Jaroslav Kysela AC97 Codec Core,Intel8x0 driver,VIA82xx driver Add AC97 quick manual override module parameter. --- include/sound/ac97_codec.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/sound/ac97_codec.h b/include/sound/ac97_codec.h index d5e7bf95b3e8..cf37658b54ed 100644 --- a/include/sound/ac97_codec.h +++ b/include/sound/ac97_codec.h @@ -479,6 +479,8 @@ void snd_ac97_resume(ac97_t *ac97); /* quirk types */ enum { + AC97_TUNE_DEFAULT = -1, /* use default from quirk list (not valid in list) */ + AC97_TUNE_NONE = 0, /* nothing extra to do */ AC97_TUNE_HP_ONLY, /* headphone (true line-out) control as master only */ AC97_TUNE_SWAP_HP, /* swap headphone and master controls */ AC97_TUNE_SWAP_SURROUND, /* swap master and surround controls */ @@ -493,7 +495,7 @@ struct ac97_quirk { int type; /* quirk type above */ }; -int snd_ac97_tune_hardware(ac97_t *ac97, struct ac97_quirk *quirk); +int snd_ac97_tune_hardware(ac97_t *ac97, struct ac97_quirk *quirk, int override); int snd_ac97_set_rate(ac97_t *ac97, int reg, unsigned short rate); int snd_ac97_pcm_assign(ac97_bus_t *ac97, -- cgit v1.2.3