mirror of
https://github.com/torvalds/linux.git
synced 2026-05-22 06:01:53 +02:00
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>
This commit is contained in:
parent
c788129c85
commit
e46da64f33
|
|
@ -637,9 +637,9 @@ int amd_sof_acp_resume(struct snd_sof_dev *sdev)
|
|||
return ret;
|
||||
}
|
||||
return acp_memory_init(sdev);
|
||||
} else {
|
||||
return acp_dsp_reset(sdev);
|
||||
}
|
||||
|
||||
return acp_dsp_reset(sdev);
|
||||
}
|
||||
EXPORT_SYMBOL_NS(amd_sof_acp_resume, "SND_SOC_SOF_AMD_COMMON");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user