Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a09f383e authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mark Brown
Browse files

ASoC: rsrc-card: use asoc_simple_card_canonicalize_dailink()

parent 600ee208
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -222,8 +222,10 @@ static int rsrc_card_parse_links(struct device_node *np,
		}
	}

	/* Simple Card assumes platform == cpu */
	dai_link->platform_of_node	= dai_link->cpu_of_node;
	ret = asoc_simple_card_canonicalize_dailink(dai_link);
	if (ret < 0)
		return ret;

	dai_link->dpcm_playback		= 1;
	dai_link->dpcm_capture		= 1;
	dai_link->ops			= &rsrc_card_ops;