summaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-core.c
diff options
context:
space:
mode:
authorVasily Khoruzhick <anarsoul@gmail.com>2018-10-21 08:39:11 -0700
committerMark Brown <broonie@kernel.org>2018-10-21 16:46:32 +0100
commit7f91e2af1a4a2c34fc2e8fb046c722e1a9c85399 (patch)
tree3ea68f9d5e370786dd9067ab3556256ebd6712aa /sound/soc/soc-core.c
parentc5d09485def41cab9e75ba23abbf87080183183c (diff)
downloadblackbird-obmc-linux-7f91e2af1a4a2c34fc2e8fb046c722e1a9c85399.tar.gz
blackbird-obmc-linux-7f91e2af1a4a2c34fc2e8fb046c722e1a9c85399.zip
ASoC: sun4i-i2s: move code from startup/shutdown hooks into pm_runtime hooks
startup() and shutdown() hooks are called for both substreams, so stopping either substream when another is running breaks the latter. E.g. playback breaks if capture is stopped when playback is running. Move code from startup() and shutdown() to resume() and suspend() hooks respectively to fix this issue Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com> Acked-by: Maxime Ripard <maxime.ripard@bootlin.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/soc-core.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud