Skip to content

Commit

Permalink
fixup! ASoC: sdw_utils: Add support for exclusion DAI quirks
Browse files Browse the repository at this point in the history
Correct logic error in masking for exclusion quirks.

Signed-off-by: Charles Keepax <[email protected]>
  • Loading branch information
charleskeepax authored and bardliao committed Oct 9, 2024
1 parent b7d934d commit b20bf58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/sdw_utils/soc_sdw_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -1156,7 +1156,7 @@ int asoc_sdw_parse_sdw_endpoints(struct snd_soc_card *card,
soc_dai = asoc_sdw_find_dailink(soc_dais, adr_end);

if (dai_info->quirk &&
!(dai_info->quirk_exclude ^ (dai_info->quirk & ctx->mc_quirk)))
!(dai_info->quirk_exclude ^ !!(dai_info->quirk & ctx->mc_quirk)))
continue;

dev_dbg(dev,
Expand Down

0 comments on commit b20bf58

Please sign in to comment.