ASoC: simple-card-utils: use for_each_prop_xxx()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Sun, 11 Apr 2021 23:52:09 +0000 (08:52 +0900)
committerMark Brown <broonie@kernel.org>
Tue, 13 Apr 2021 11:32:47 +0000 (12:32 +0100)
commitfafc05aadd4b6ce5c161135de9d3a653fc054543
tree0be8c94cacee800caa769bf131049ecc2b412b1a
parentf899006d558546a8ee39c93f816eb3847c5bc6c0
ASoC: simple-card-utils: use for_each_prop_xxx()

ASoC is now supporting multi DAI, but, current
simple-card / audio-graph are assuming fixed single DAI.

This patch uses for_each_prop_xxx() to support multi DAI.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87r1jgwf9y.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/simple_card_utils.h
sound/soc/generic/simple-card-utils.c