linux/sound
Mark Brown 0be9898adb [ALSA] ASoC: Clarify API for bias configuration
Currently the ASoC core configures the bias levels in the system using
a callback on codecs and machines called 'dapm_event', passing it PCI
style power levels as SNDRV_CTL_POWER_ constants. This is more obscure
than it needs to be and has caused confusion to driver authors,
especially given that DAPM is also performing power management.

Address this by renaming the callback function to 'set_bias_level' and
using constants explicitly representing the off, standby, pre-on and on
states which DAPM transitions through.

Also unexport the API for setting bias level: there are currently no
in-tree users of this API other than the core itself and it is likely
that the core would need to be extended to cater for any users.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Jarkko Nikula <jarkko.nikula@nokia.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2008-05-19 17:28:43 +02:00
..
aoa [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
arm [ALSA] pxa2xx-ac97: Support PXA3xx AC97 2008-04-24 12:00:41 +02:00
core [ALSA] Remove unneeded ugly hack for i386 in memalloc.c 2008-05-19 13:19:15 +02:00
drivers [ALSA] ac97 - Add virtual master control to VT1616/VT1617A codec. 2008-05-19 13:19:14 +02:00
i2c [ALSA] i2c: cs8427.c use put_unaligned helper 2008-05-19 13:19:15 +02:00
isa ALSA: sb - Fix wrong assertions 2008-06-23 12:06:23 +02:00
mips [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
oss msnd_* is ISA-only 2008-05-21 16:55:59 -07:00
parisc [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
pci [ALSA] hda - Fix DMA position inaccuracy 2008-05-19 13:19:19 +02:00
pcmcia [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
ppc [ALSA] snd-powermac: style burgundy.c 2008-04-24 12:00:38 +02:00
sh Remove duplicated unlikely() in IS_ERR() 2008-04-29 08:06:25 -07:00
soc [ALSA] ASoC: Clarify API for bias configuration 2008-05-19 17:28:43 +02:00
sparc [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
spi [ALSA] at73c213: Add constraints for periods value 2008-04-24 12:00:26 +02:00
synth [ALSA] emux midi synthesizer doesn't honor SOFT_PEDAL-release event 2008-05-13 14:47:43 +02:00
usb [ALSA] snd_usb_caiaq: add support for 'Session I/O' interface 2008-05-19 13:19:15 +02:00
Kconfig snd-pcsp: adjust help texts to frighten users 2008-05-19 12:04:35 +02:00
Makefile [ALSA] Add SPI devices to ALSA Kconfig and Makefile 2007-10-16 15:57:47 +02:00
ac97_bus.c [ALSA] ac97_bus power management 2007-02-09 09:03:54 +01:00
last.c [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
sound_core.c [PATCH] mark struct file_operations const 9 2007-02-12 09:48:46 -08:00
sound_firmware.c Detach sched.h from mm.h 2007-05-21 09:18:19 -07:00