]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Export card PM callbacks for use in direct registered cards
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 26 Jan 2011 14:59:27 +0000 (14:59 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 27 Jan 2011 11:56:34 +0000 (11:56 +0000)
commit4690f71c25ededa6bd6ee4aa2ae022036e71d17b
tree1ca2bcaefd986fb19b72a1ac741c9371aec2f28a
parent3bdecba75a2ef83914d46fa6ea7b13ec3fb37c2d
ASoC: Export card PM callbacks for use in direct registered cards

Allow hookup of cards registered directly with the core to the PM
operations by exporting the device power management operations to
modules, also exporting the default PM operations since it is
expected that most cards will end up using exactly the same setup.

Note that the callbacks require that the driver data for the card be
the snd_soc_card.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
include/sound/soc.h
sound/soc/soc-core.c