summaryrefslogtreecommitdiff
path: root/sound/soc/intel/baytrail/sst-baytrail-ipc.c
diff options
context:
space:
mode:
authorKoro Chen <koro.chen@mediatek.com>2015-07-22 12:39:35 +0300
committerMark Brown <broonie@kernel.org>2015-07-22 13:11:18 +0300
commit775b07de4fa470ac10cd74f1b1a8d441b4f5838d (patch)
treead567428fbf34b608dd911cf8a9c29538f3a1030 /sound/soc/intel/baytrail/sst-baytrail-ipc.c
parent27bc1dd24488ce2a13e5c59aaf6d3202e519e21e (diff)
downloadlinux-775b07de4fa470ac10cd74f1b1a8d441b4f5838d.tar.xz
ASoC: mediatek: Add suspend/resume callbacks
This adds suspend/resume callbacks, which are common for each DAI. To be able to continue the last playback/capture after resume when suspend was done during a playback/capture, in the callbacks we do backup/restore of registers which were set before prepare stage. Registers to be backup/restore are defined in a backup list array. Signed-off-by: Koro Chen <koro.chen@mediatek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/baytrail/sst-baytrail-ipc.c')
0 files changed, 0 insertions, 0 deletions