]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: omap-mcpdm: Replace legacy driver
authorMisael Lopez Cruz <misael.lopez@ti.com>
Tue, 5 Jul 2011 16:50:45 +0000 (19:50 +0300)
committerPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 22 Sep 2011 06:22:50 +0000 (09:22 +0300)
commit35e168d26657fda3747e745e9245c23ac7bc4ecd
tree3e65ff6f476f06bef77fb25ee93917e8e3a50c10
parentaf66e482cf627d7fd6957d86a0b88edcaccc92bb
ASoC: omap-mcpdm: Replace legacy driver

Reasons for the replacement:
The current driver for McPDM was developed to support the legacy mode only.
In preparation for the ABE support the current driver stack need the be
replaced.
The new driver is much simpler, easier to extend, and it also fixes some of the
issues with the old stack.

Main changes:
- single file for omap-mcpdm (mcpdm.c/h removed)
- Define names for registers, bits cleaned up, prefixed
- Full-duplex audio operation (arecord | aplay) has been fixed
- Less code

McPDM need to be turned off after all streams has been stopped.
This might cause pop noise on the output, if the codec's DAC is
still powered at this time.

Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Signed-off-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Sebastien Guiriec <s-guiriec@ti.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/omap/Makefile
sound/soc/omap/mcpdm.c [deleted file]
sound/soc/omap/mcpdm.h [deleted file]
sound/soc/omap/omap-mcpdm.c
sound/soc/omap/omap-mcpdm.h [new file with mode: 0644]
sound/soc/omap/sdp4430.c