ASoC: samsung: i2s: Convert to single component with multiple DAIs
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Thu, 7 Feb 2019 17:00:13 +0000 (18:00 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 12 Feb 2019 16:32:14 +0000 (16:32 +0000)
commita404b72d2bdd45878e1441650967a75452d5e420
tree94bd81b60b3af02135ff26853f97998a895ffd39
parent96f06cde2c00d78395f5200cbbdf216c5ce3bc3f
ASoC: samsung: i2s: Convert to single component with multiple DAIs

This patch includes minimal changes as a prerequisite for adding support
for the Exynos secondary I2S interface as second DAI of the I2S component.
Doing it that way allows to avoid problems as indicated in commmit
6b01e0365b1689 ("ASoC: samsung: i2s: disable secondary DAI until it gets fixed")

The samsung_i2s_get_pri_dai() helper added in this patch is temporary and
will be removed in one of subsequent patches.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/samsung/i2s.c