ASoC: Use card rather than soc-audio device to card PM functions
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 26 Jan 2011 14:05:25 +0000 (14:05 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 27 Jan 2011 11:55:53 +0000 (11:55 +0000)
commit70b2ac126a60c87145ae8a8eb1b4dccaa0bf5468
tree314a435bc3753194b6abcf63ce7721810729f841
parent16af7d60aa27d3fc39e46fd456b8e33d34d60437
ASoC: Use card rather than soc-audio device to card PM functions

The platform device for the card is tied closely to the soc-audio
implementation which we're currently trying to remove in favour of
allowing cards to have their own devices. Begin removing it by
replacing it with the card in the suspend and resume callbacks we
give to cards, also taking the opportunity to remove the legacy
suspend types which are currently hard coded anyway.

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