diff --git a/sound/soc/amd/acp/acp-platform.c b/sound/soc/amd/acp/acp-platform.c index ae63b2e693ab..3a7a467b7063 100644 --- a/sound/soc/amd/acp/acp-platform.c +++ b/sound/soc/amd/acp/acp-platform.c @@ -231,7 +231,7 @@ void config_acp_dma(struct acp_dev_data *adata, struct acp_stream *stream, int s break; default: dev_err(adata->dev, "Invalid dai id %x\n", stream->dai_id); - break; + return; } break; default: