]> git.openfabrics.org - ~emulex/infiniband.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)
commit6f8ab4ac292f81b9246ddf363bf1c6a2fc7a0629
tree1ca2bcaefd986fb19b72a1ac741c9371aec2f28a
parente7361ec4996c170c63c4ac379085896db85ff34d
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