commit | 775b07de4fa470ac10cd74f1b1a8d441b4f5838d | [log] [tgz] |
---|---|---|
author | Koro Chen <koro.chen@mediatek.com> | Wed Jul 22 17:39:35 2015 +0800 |
committer | Mark Brown <broonie@kernel.org> | Wed Jul 22 11:11:18 2015 +0100 |
tree | ad567428fbf34b608dd911cf8a9c29538f3a1030 | |
parent | 27bc1dd24488ce2a13e5c59aaf6d3202e519e21e [diff] |
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>