[PATCH v2 19/25] ASoC: intel: atom: Fix .shutdown() being skipped on rollback
Cezary Rojewski
cezary.rojewski at intel.com
Thu Oct 15 03:44:50 PDT 2026
On 10/15/2026 3:43 AM, phucduc.bui at gmail.com wrote:
> From: bui duc phuc <phucduc.bui at gmail.com>
>
> snd_pcm_hw_constraint_integer() may return 1, which is then returned
> from sst_media_open(). ASoC only marks the DAI as started when
> .startup() returns 0, so .shutdown() can be skipped on rollback.
>
> Return 0 explicitly on success.
>
> Fixes: 4889a8a73f65 ("ASoC: intel: atom: Use __free(kfree) for stream pointer")
> Fixes: 6cc0f4e63994 ("ASoC: Intel: mfld_pcm: move stream handling to dai_ops")
> Signed-off-by: bui duc phuc <phucduc.bui at gmail.com>
Acked-by: Cezary Rojewski <cezary.rojewski at intel.com>
More information about the Linux-rockchip
mailing list