Dimitris Papastamos
d4754ec91c
ASoC: Update users of readable_register()/volatile_register()
...
Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com >
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2011-01-13 14:17:43 +00:00
Jarkko Nikula
505fb824e7
ASoC: Do not include soc-dapm.h
...
There is no need to include soc-dapm.h since soc.h includes it.
Signed-off-by: Jarkko Nikula <jhnikula@gmail.com >
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2010-11-22 14:04:41 +00:00
Liam Girdwood
ce6120cca2
ASoC: Decouple DAPM from CODECs
...
Decoupling Dynamic Audio Power Management (DAPM) from codec devices is
required when developing ASoC further. Such as for other ASoC components to
have DAPM widgets or when extending DAPM to handle cross-device paths.
This patch decouples DAPM related variables from struct snd_soc_codec and
moves them to new struct snd_soc_dapm_context that is used to encapsulate
DAPM context of a device. ASoC core and API of DAPM functions are modified
to use DAPM context instead of codec.
This patch does not change current functionality and a large part of changes
come because of structure and internal API changes.
Core implementation is from Liam Girdwood <lrg@slimlogic.co.uk > with some
minor core changes, codecs and machine driver conversions from
Jarkko Nikula <jhnikula@gmail.com >.
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk >
Signed-off-by: Jarkko Nikula <jhnikula@gmail.com >
Cc: Nicolas Ferre <nicolas.ferre@atmel.com >
Cc: Manuel Lauss <manuel.lauss@googlemail.com >
Cc: Mike Frysinger <vapier.adi@gmail.com >
Cc: Cliff Cai <cliff.cai@analog.com >
Cc: Kevin Hilman <khilman@deeprootsystems.com >
Cc: Ryan Mallon <ryan@bluewatersys.com >
Cc: Timur Tabi <timur@freescale.com >
Cc: Sascha Hauer <s.hauer@pengutronix.de >
Cc: Lars-Peter Clausen <lars@metafoo.de >
Cc: Arnaud Patard (Rtp) <arnaud.patard@rtp-net.org >
Cc: Wan ZongShun <mcuos.com@gmail.com >
Cc: Eric Miao <eric.y.miao@gmail.com >
Cc: Jassi Brar <jassi.brar@samsung.com >
Cc: Daniel Gloeckner <dg@emlix.com >
Cc: Kuninori Morimoto <morimoto.kuninori@renesas.com >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2010-11-06 11:28:29 -04:00
Dan Carpenter
fe3e2e7ff2
ASoC: checking kzalloc() for IS_ERR() instead of NULL
...
There is a typo here that got copy and pasted to several probe
functions. kzalloc() returns NULL on allocation failures and not an
ERR_PTR.
Signed-off-by: Dan Carpenter <error27@gmail.com >
Acked-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2010-10-11 12:38:21 +01:00
Dimitris Papastamos
e595b3252f
ASoC: WM8804: Retrieve the device revision and print it
...
Be verbose and print out the device revision.
Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com >
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2010-10-05 09:57:10 -07:00
Dimitris Papastamos
6c20c807cf
ASoC: WM8804: Power down the PLL correctly
...
The PLL is disabled when the corresponding bit is set not the other
way around. This commit depends on my other commit with Subject
"ASoC: WM8804: Refactor set_pll code to avoid GCC warnings".
Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com >
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2010-10-04 08:03:11 -07:00
Dimitris Papastamos
86ce6c9a62
ASoC: WM8804: Refactor set_pll code to avoid GCC warnings
...
Ensure that no uninitialised variable warnings are generated by
GCC.
Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com >
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2010-10-04 08:03:00 -07:00
Dimitris Papastamos
cb13c6b3ca
ASoC: WM8804: Use a proper DAI name
...
Make sure the DAI name does not include a '/' since we might have
per DAI debugfs or sysfs entries in the future.
Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com >
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2010-10-02 14:24:39 -07:00
Dimitris Papastamos
33cf45c80f
ASoC: WM8804: Initial driver
...
The WM8804 is a high performance consumer mode S/PDIF transceiver with
support for 1 received channel and 1 transmitted channel.
Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com >
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk >
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com >
2010-09-30 13:32:21 -07:00