]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit684b76e94c3acac98e098689e605527043b4b6ca
tree94bd81b60b3af02135ff26853f97998a895ffd39
parent34fbd7ca5230bb41bc4a5f0be6a8bdeaa632fd2a
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