diff options
| author | Liam Girdwood <liam.girdwood@wolfsonmicro.com> | 2005-03-07 17:48:14 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-03-07 17:48:14 -0800 |
| commit | 69bfca0e64ca97d1a3063687e26fa0191ae3ddfd (patch) | |
| tree | 94042c86401fad88368259099291483ad3246008 /include/linux | |
| parent | dd26caf1efe40a9296bb5223ede57f78adf2eaf1 (diff) | |
[PATCH] OSS Support for AC97 low power codecs
This is a resend of a patch that has been applied to 2.4. The low power
codec functionality has also now been included in ALSA.
It checks the codec ID before doing an AC97 register reset. This allows
the kernel to support low power codecs that are powered down by a reset
command. This patch also fixes some other minor issues.
Changes:-
- Added AC97_DEFAULT_POWER_OFF to ac97_codec_ids[]
- ac97_probe now checks hardwired codec ID's before sending a reset
- Added support for WM9713
- Moved the codec specific inits after the mixer setup as some init
- tings were being clobbered.
- Added extra check so that default_digital_ops doesn't overwrite a valid
codec_ops. (SPDIF)
Signed-off-by: Liam Girdwood <liam.girdwood@wolfsonmicro.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/ac97_codec.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ac97_codec.h b/include/linux/ac97_codec.h index c3970bb88c4d..c35833824e11 100644 --- a/include/linux/ac97_codec.h +++ b/include/linux/ac97_codec.h @@ -323,6 +323,7 @@ struct ac97_ops #define AC97_DELUDED_MODEM 1 /* Audio codec reports its a modem */ #define AC97_NO_PCM_VOLUME 2 /* Volume control is missing */ +#define AC97_DEFAULT_POWER_OFF 4 /* Needs warm reset to power up */ }; extern int ac97_read_proc (char *page_out, char **start, off_t off, |
