diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-07-18 14:21:27 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-07-18 14:21:27 +0300 |
commit | bf308571ae9d1723ee14ed5eccfe8a792197a949 (patch) | |
tree | a6c3b5396744cbccdf731093344d2e1e4af0d72c /sound/soc | |
parent | 7e3afe71f9158d9cda5d96c58daa364d670467ce (diff) | |
parent | 2eaf5c0d81911ba05bace3a722cbcd708fdbbcba (diff) | |
download | linux-rolling-lts.tar.xz |
Merge v6.6.41linux-rolling-lts
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/sof/intel/hda-dai.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sound/soc/sof/intel/hda-dai.c b/sound/soc/sof/intel/hda-dai.c index f3cefd866081..19ec1a45737e 100644 --- a/sound/soc/sof/intel/hda-dai.c +++ b/sound/soc/sof/intel/hda-dai.c @@ -534,12 +534,6 @@ static int hda_dai_suspend(struct hdac_bus *bus) sdai = swidget->private; ops = sdai->platform_private; - ret = hda_link_dma_cleanup(hext_stream->link_substream, - hext_stream, - cpu_dai); - if (ret < 0) - return ret; - /* for consistency with TRIGGER_SUSPEND */ if (ops->post_trigger) { ret = ops->post_trigger(sdev, cpu_dai, @@ -548,6 +542,12 @@ static int hda_dai_suspend(struct hdac_bus *bus) if (ret < 0) return ret; } + + ret = hda_link_dma_cleanup(hext_stream->link_substream, + hext_stream, + cpu_dai); + if (ret < 0) + return ret; } } |