diff options
author | Dmytro Prokopchuk <dmytro.prokopchuk@globallogic.com> | 2018-09-21 07:59:59 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-09-21 20:03:54 +0300 |
commit | 624d1a7cd8991e33dad96ab4629a52c412540e65 (patch) | |
tree | d3df916e4d21553cd9b577808eb72c7c3a9f5a00 /include/linux/edd.h | |
parent | c78d42c7fbd6f2a27a665bcd1ab60c9df617f7c9 (diff) | |
download | linux-624d1a7cd8991e33dad96ab4629a52c412540e65.tar.xz |
ASoC: rsnd: fixup SSI clock during suspend/resume modes
Prepare <-> Cleanup functions pair has balanced calls.
But in case of suspend mode no call to rsnd_soc_dai_shutdown()
function, so cleanup isn't called. OTOH during resume mode
function rsnd_soc_dai_prepare() is called, but calling
rsnd_ssi_prepare() is skipped (rsnd_status_update() returns zero,
bacause was not cleanup before).
We need to call rsnd_ssi_prepare(), because it enables SSI clocks
by calling rsnd_ssi_master_clk_start().
This patch allows to call prepare/cleanup functions always.
Signed-off-by: Dmytro Prokopchuk <dmytro.prokopchuk@globallogic.com>
Tested-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
[kuninori: adjusted to upstream]
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/edd.h')
0 files changed, 0 insertions, 0 deletions