diff options
author | 이경택 <gt82.lee@samsung.com> | 2020-04-01 03:04:21 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-04-01 13:06:27 +0200 |
commit | 21fca8bdbb64df1297e8c65a746c4c9f4a689751 (patch) | |
tree | 65911ea8cf241e54587af7ec6c0a625de519907d /sound/usb/line6/pcm.h | |
parent | ASoC: dapm: connect virtual mux with default value (diff) | |
download | linux-21fca8bdbb64df1297e8c65a746c4c9f4a689751.tar.xz linux-21fca8bdbb64df1297e8c65a746c4c9f4a689751.zip |
ASoC: dpcm: allow start or stop during pause for backend
soc_compr_trigger_fe() allows start or stop after pause_push.
In dpcm_be_dai_trigger(), however, only pause_release is allowed
command after pause_push.
So, start or stop after pause in compress offload is always
returned as error if the compress offload is used with dpcm.
To fix the problem, SND_SOC_DPCM_STATE_PAUSED should be allowed
for start or stop command.
Signed-off-by: Gyeongtaek Lee <gt82.lee@samsung.com>
Reviewed-by: Vinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/004d01d607c1$7a3d5250$6eb7f6f0$@samsung.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/usb/line6/pcm.h')
0 files changed, 0 insertions, 0 deletions