]> err.no Git - linux-2.6/commit
[ALSA] ac97 - Suppress power-saving mode on non-supporting drivers
authorTakashi Iwai <tiwai@suse.de>
Tue, 24 Oct 2006 16:25:29 +0000 (18:25 +0200)
committerJaroslav Kysela <perex@suse.cz>
Fri, 9 Feb 2007 08:01:09 +0000 (09:01 +0100)
commitf1a63a38d2a885cc7e38c67b699171a7c5666d88
tree9425150713ffa2af52f8b28bdadf453cf62b2afc
parent7cdbff945e9e3bb592dee2f66afbcc2255747f8f
[ALSA] ac97 - Suppress power-saving mode on non-supporting drivers

Don't enable power-saving mode on drivers that don't support
it.  The supporting drivers set AC97_SCAP_POWER_SAVE to scaps
at creation of ac97 instance.
Currently enable on the following drivers: intel8x0, intel8x0m,
atiixp, atiixp-modem, via82xx and via82xx-modem.
Also, a bit clean up of power-saving stuff:
- Don't create an own workq
- Remove superfluous ifdefs

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
include/sound/ac97_codec.h
sound/pci/ac97/ac97_codec.c
sound/pci/atiixp.c
sound/pci/atiixp_modem.c
sound/pci/intel8x0.c
sound/pci/intel8x0m.c
sound/pci/via82xx.c
sound/pci/via82xx_modem.c