Skip to content

Commit

Permalink
ASoC: intel: rename soundwire common header macros
Browse files Browse the repository at this point in the history
Rename sof quirk macros, dai type and dai link macros with "SOC_SDW" tag.

Link: thesofproject#5068
Signed-off-by: Vijendar Mukunda <[email protected]>
Reviewed-by: Bard Liao <[email protected]>
Reviewed-by: Pierre-Louis Bossart <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
vijendarmukunda authored and broonie committed Aug 1, 2024
1 parent 6588fcc commit 408a454
Show file tree
Hide file tree
Showing 6 changed files with 126 additions and 126 deletions.
6 changes: 3 additions & 3 deletions sound/soc/intel/boards/bridge_cs35l56.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ static const struct snd_soc_dai_link bridge_dai_template = {
int bridge_cs35l56_count_sidecar(struct snd_soc_card *card,
int *num_dais, int *num_devs)
{
if (sof_sdw_quirk & SOF_SIDECAR_AMPS) {
if (sof_sdw_quirk & SOC_SDW_SIDECAR_AMPS) {
(*num_dais)++;
(*num_devs) += ARRAY_SIZE(bridge_cs35l56_name_prefixes);
}
Expand All @@ -110,7 +110,7 @@ int bridge_cs35l56_add_sidecar(struct snd_soc_card *card,
struct snd_soc_dai_link **dai_links,
struct snd_soc_codec_conf **codec_conf)
{
if (sof_sdw_quirk & SOF_SIDECAR_AMPS) {
if (sof_sdw_quirk & SOC_SDW_SIDECAR_AMPS) {
**dai_links = bridge_dai_template;

for (int i = 0; i < ARRAY_SIZE(bridge_cs35l56_name_prefixes); i++) {
Expand All @@ -130,7 +130,7 @@ int bridge_cs35l56_spk_init(struct snd_soc_card *card,
struct asoc_sdw_codec_info *info,
bool playback)
{
if (sof_sdw_quirk & SOF_SIDECAR_AMPS)
if (sof_sdw_quirk & SOC_SDW_SIDECAR_AMPS)
info->amp_num += ARRAY_SIZE(bridge_cs35l56_name_prefixes);

return 0;
Expand Down
Loading

0 comments on commit 408a454

Please sign in to comment.