diff options
author | Cezary Rojewski <cezary.rojewski@intel.com> | 2020-10-26 11:01:29 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-11-05 14:52:33 +0000 |
commit | 4c22b80f61540ea99d9b4af0127315338755f05b (patch) | |
tree | 45e82f8d4142d42f4b09e51a91bba745355b3d00 /include | |
parent | df3d6390fa0ad48eecbe0b48acb4d364a70cd378 (diff) | |
download | linux-4c22b80f61540ea99d9b4af0127315338755f05b.tar.bz2 |
ASoC: pcm: DRAIN support reactivation
soc-pcm's dpcm_fe_dai_do_trigger() supported DRAIN commnad up to kernel
v5.4 where explicit switch(cmd) has been introduced which takes into
account all SNDRV_PCM_TRIGGER_xxx but SNDRV_PCM_TRIGGER_DRAIN. Update
switch statement to reactive support for it.
As DRAIN is somewhat unique by lacking negative/stop counterpart, bring
behaviour of dpcm_fe_dai_do_trigger() for said command back to its
pre-v5.4 state by adding it to START/RESUME/PAUSE_RELEASE group.
Fixes: acbf27746ecf ("ASoC: pcm: update FE/BE trigger order based on the command")
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20201026100129.8216-1-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions