linux/include/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
..
ac97_codec.h [ALSA] ac97 - Fix ASUS A9T laptop output 2008-05-30 16:20:42 +02:00
ad1816a.h [ALSA] Remove xxx_t typedefs: ISA AD1816A 2006-01-03 12:18:18 +01:00
ad1848.h [ALSA] include/sound/: Spelling fixes 2008-01-31 17:29:41 +01:00
ak4xxx-adda.h [ALSA] some fixes and cleanup for ICE1724 cards 2008-04-24 12:00:25 +02:00
ak4114.h [ALSA] some fixes and cleanup for ICE1724 cards 2008-04-24 12:00:25 +02:00
ak4117.h [ALSA] Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-16 16:51:18 +02:00
ak4531_codec.h [ALSA] Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-16 16:51:18 +02:00
asequencer.h [ALSA] Remove sequencer instrument layer 2008-01-31 17:29:13 +01:00
asound_fm.h [ALSA] opl3 - Use hwdep for patch loading 2008-01-31 17:29:13 +01:00
asound.h [ALSA] PCM interface - rename SNDRV_PCM_TSTAMP_MMAP to SNDRV_PCM_TSTAMP_ENABLE 2008-01-31 17:29:54 +01:00
asoundef.h [ALSA] IEC958 definitions for consumer status channel, byte 4 2008-04-24 12:00:19 +02:00
control.h [ALSA] Move vmaster code to sound core 2008-04-24 12:00:12 +02:00
core.h [ALSA] sound/core.h: evil #ifdefs 2008-04-24 12:00:36 +02:00
cs46xx_dsp_scb_types.h [ALSA] Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-16 16:51:18 +02:00
cs46xx_dsp_spos.h [ALSA] Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-16 16:51:18 +02:00
cs46xx_dsp_task_types.h [ALSA] Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-16 16:51:18 +02:00
cs46xx.h [ALSA] sound: remove dead config symbol from sound code 2008-01-31 17:29:21 +01:00
cs4231-regs.h [ALSA] include/sound/: Spelling fixes 2008-01-31 17:29:41 +01:00
cs4231.h [ALSA] Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-16 16:51:18 +02:00
cs8403.h [ALSA] Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-16 16:51:18 +02:00
cs8427.h [ALSA] Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-16 16:51:18 +02:00
driver.h [ALSA] Remove sound/driver.h 2008-01-31 17:29:48 +01:00
emu10k1_synth.h [ALSA] Remove xxx_t typedefs: PCI emu10k1 2006-01-03 12:18:47 +01:00
emu10k1.h [ALSA] emu10k1: General cleanup, add new locks, fix alsa bug#3501, kernel bug#9304. 2008-01-31 17:30:24 +01:00
emu8000_reg.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
emu8000.h [ALSA] Remove xxx_t typedefs: ISA SB8/SB16/SBAWE 2006-01-03 12:18:25 +01:00
emux_legacy.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
emux_synth.h [ALSA] semaphore -> mutex (driver part) 2006-03-22 10:24:57 +01:00
es1688.h [ALSA] Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-16 16:51:18 +02:00
gus.h [ALSA] Remove sequencer instrument layer 2008-01-31 17:29:13 +01:00
hda_hwdep.h [ALSA] hda-intel - Add hwdep interface 2007-10-16 15:58:10 +02:00
hdsp.h Fix integer types in <sound/hdsp.h> SNDRV_HDSP_IOCTL_GET_PEAK_RMS ioctl 2006-05-04 00:42:42 +01:00
hdspm.h [ALSA] hdspm - Coding style fixes 2007-10-16 15:58:10 +02:00
hwdep.h [ALSA] Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-16 16:51:18 +02:00
i2c.h [ALSA] semaphore -> mutex (driver part) 2006-03-22 10:24:57 +01:00
info.h [ALSA] info_oss: move prototype of snd_card_info_read_oss to info.h 2008-01-31 17:29:35 +01:00
initval.h [ALSA] Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-16 16:51:18 +02:00
Kbuild [HEADERS] One line per header in Kbuild files to reduce conflicts 2006-09-19 12:43:58 +01:00
memalloc.h [ALSA] Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-16 16:51:18 +02:00
minors.h [ALSA] dynamic minors (4/6): dynamic minor number allocation 2006-01-03 12:29:19 +01:00
mixer_oss.h [ALSA] Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-16 16:51:18 +02:00
mpu401.h [ALSA] Add MPU401_INFO_NO_ACK bitflag 2008-04-29 19:01:56 +02:00
opl3.h [ALSA] opl3 - Fix compilation without sequencer support 2008-02-22 14:20:08 -08:00
opl4.h [ALSA] Remove xxx_t typedefs: OPL4 2006-01-03 12:18:06 +01:00
pcm_oss.h [ALSA] Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-16 16:51:18 +02:00
pcm_params.h [ALSA] Move OSS-specific hw_params helper to snd-pcm-oss module 2006-06-22 21:33:05 +02:00
pcm-indirect.h [ALSA] Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-16 16:51:18 +02:00
pcm.h [ALSA] Remove PCM sleep_min and tick 2008-01-31 17:29:47 +01:00
pt2258.h [ALSA] Enable the analog loopback of the Revolution 5.1 2007-02-09 09:00:05 +01:00
rawmidi.h [ALSA] Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-16 16:51:18 +02:00
sb.h [ALSA] Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-16 16:51:18 +02:00
sb16_csp.h [ALSA] sb16: add request_firmware() 2007-02-09 09:01:14 +01:00
seq_device.h [ALSA] Remove xxx_t typedefs: Sequencer 2006-01-03 12:17:52 +01:00
seq_kernel.h [ALSA] seq: set client name in snd_seq_create_kernel_client() 2006-01-03 12:30:49 +01:00
seq_midi_emul.h [ALSA] Remove xxx_t typedefs: Sequencer 2006-01-03 12:17:52 +01:00
seq_midi_event.h [ALSA] Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-16 16:51:18 +02:00
seq_oss_legacy.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
seq_oss.h [ALSA] Remove xxx_t typedefs: Sequencer OSS-emulation 2006-01-03 12:17:57 +01:00
seq_virmidi.h [ALSA] Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-16 16:51:18 +02:00
sfnt_info.h [ALSA] Remove xxx_t typedefs: Emu-X synth 2006-01-03 12:18:14 +01:00
snd_wavefront.h [ALSA] wavefront: simplify YSS225 register initialization 2007-02-09 09:01:15 +01:00
soc-dapm.h [ALSA] ASoC: Clarify API for bias configuration 2008-05-19 17:28:43 +02:00
soc.h [ALSA] ASoC: Clarify API for bias configuration 2008-05-19 17:28:43 +02:00
soundfont.h [ALSA] semaphore -> mutex (driver part) 2006-03-22 10:24:57 +01:00
sscape_ioctl.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tea575x-tuner.h [ALSA] fm801 - Add mute support for FM-only card with FM801 PCI to tuner bridge 2008-01-31 17:30:14 +01:00
tea6330t.h [ALSA] Remove xxx_t typedefs: I2C drivers 2006-01-03 12:18:08 +01:00
timer.h [ALSA] Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-16 16:51:18 +02:00
tlv.h [ALSA] Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-16 16:51:18 +02:00
trident.h [ALSA] Remove sequencer instrument layer 2008-01-31 17:29:13 +01:00
uda1341.h [ALSA] Remove xxx_t typedefs: I2C drivers 2006-01-03 12:18:08 +01:00
util_mem.h [ALSA] semaphore -> mutex (driver part) 2006-03-22 10:24:57 +01:00
version.h [ALSA] release 1.0.16 2008-04-24 12:00:23 +02:00
vx_core.h [ALSA] Add even more 'const' to everything related to TLV 2007-02-09 09:03:19 +01:00
wavefront.h [PATCH] Eliminate __attribute__ ((packed)) warnings for gcc-4.1 2006-01-08 20:14:07 -08:00
ymfpci.h [ALSA] Changed Jaroslav Kysela's e-mail from perex@suse.cz to perex@perex.cz 2007-10-16 16:51:18 +02:00