Skip to content

Commit e46da64

Browse files
vijendarmukundabroonie
authored andcommitted
ASoC: SOF: amd: remove else condition in resume sequence
Else condition is not required after break/return statement. Remove else condition in resume callback. Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://patch.msgid.link/20250502154445.3008598-2-Vijendar.Mukunda@amd.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent c788129 commit e46da64

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sound/soc/sof/amd/acp.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -637,9 +637,9 @@ int amd_sof_acp_resume(struct snd_sof_dev *sdev)
637637
return ret;
638638
}
639639
return acp_memory_init(sdev);
640-
} else {
641-
return acp_dsp_reset(sdev);
642640
}
641+
642+
return acp_dsp_reset(sdev);
643643
}
644644
EXPORT_SYMBOL_NS(amd_sof_acp_resume, "SND_SOC_SOF_AMD_COMMON");
645645

0 commit comments

Comments
 (0)