ASoC: amd: acp: Make use of existing *_CODEC_DAI macros
authorCristian Ciocaltea <cristian.ciocaltea@collabora.com>
Tue, 19 Dec 2023 03:07:20 +0000 (05:07 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 22 Jan 2024 00:06:25 +0000 (00:06 +0000)
commit68ab29426d88294d16170919a6a6e764f375113f
tree025e9880d05de45cbc761a0687b69d8ab54331ed
parentf0f1021fc9cb88ebdc241b6121107399ee4f2eb7
ASoC: amd: acp: Make use of existing *_CODEC_DAI macros

The generic ACP machine driver provides macros for NAU88221 and MAX98388
codec DAI names, but in places it is still using directly the related
strings.

For consistency, replace all strings with the equivalent macros.

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Link: https://msgid.link/r/20231219030728.2431640-3-cristian.ciocaltea@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp/acp-mach-common.c