1
linux/sound/soc/codecs
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.c [ALSA] ASoC: Remove in-code changelogs 2008-05-19 13:19:20 +02:00
ac97.h [ALSA] ASoC export AC97 DAI 2007-05-11 16:56:02 +02:00
cs4270.c [ALSA] SOC: fix tests in cs4270_hw_params() 2008-04-24 12:00:39 +02:00
cs4270.h [ALSA] ASoC CS4270 codec device driver 2007-10-16 15:58:19 +02:00
Kconfig [ALSA] ASoC: WM9713 driver 2008-04-24 12:00:11 +02:00
Makefile [ALSA] ASoC: WM9713 driver 2008-04-24 12:00:11 +02:00
tlv320aic3x.c [ALSA] ASoC: Clarify API for bias configuration 2008-05-19 17:28:43 +02:00
tlv320aic3x.h [ALSA] soc - tlv320aic3x - add GPIO support 2008-05-19 13:19:14 +02:00
wm8731.c [ALSA] ASoC: Clarify API for bias configuration 2008-05-19 17:28:43 +02:00
wm8731.h [ALSA] soc - ASoC 0.13 WM8731 codec 2007-02-09 09:03:38 +01:00
wm8750.c [ALSA] ASoC: Clarify API for bias configuration 2008-05-19 17:28:43 +02:00
wm8750.h [ALSA] soc - ASoC 0.13 WM8750 codec driver 2007-02-09 09:03:39 +01:00
wm8753.c [ALSA] ASoC: Clarify API for bias configuration 2008-05-19 17:28:43 +02:00
wm8753.h [ALSA] SoC WM8753 codec support 2007-05-11 16:56:02 +02:00
wm9712.c [ALSA] ASoC: Clarify API for bias configuration 2008-05-19 17:28:43 +02:00
wm9712.h [ALSA] ASoC codecs: WM9712 support 2007-02-09 09:00:23 +01:00
wm9713.c [ALSA] ASoC: Clarify API for bias configuration 2008-05-19 17:28:43 +02:00
wm9713.h [ALSA] ASoC: WM9713 driver 2008-04-24 12:00:11 +02:00