summaryrefslogtreecommitdiff
path: root/drivers/spi
diff options
context:
space:
mode:
authorLibin Yang <libin.yang@intel.com>2019-05-08 10:32:41 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-07-10 09:55:42 +0200
commit1166becf84e8c657d85572d857dbf78c2bf40a66 (patch)
treeecc6b1ced88a0585abd738224e64b10033f32448 /drivers/spi
parentcbb066f11d87b55257e571576ec297ac7d5a5a85 (diff)
ASoC: soc-pcm: BE dai needs prepare when pause release after resume
[ Upstream commit 5087a8f17df868601cd7568299e91c28086d2b45 ] If playback/capture is paused and system enters S3, after system returns from suspend, BE dai needs to call prepare() callback when playback/capture is released from pause if RESUME_INFO flag is not set. Currently, the dpcm_be_dai_prepare() function will block calling prepare() if the pcm is in SND_SOC_DPCM_STATE_PAUSED state. This will cause the following test case fail if the pcm uses BE: playback -> pause -> S3 suspend -> S3 resume -> pause release The playback may exit abnormally when pause is released because the BE dai prepare() is not called. This patch allows dpcm_be_dai_prepare() to call dai prepare() callback in SND_SOC_DPCM_STATE_PAUSED state. Signed-off-by: Libin Yang <libin.yang@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/spi')
0 files changed, 0 insertions, 0 deletions