]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: samsung: odroid: Add support for secondary CPU DAI
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Thu, 14 Feb 2019 09:37:40 +0000 (10:37 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 14 Feb 2019 13:05:46 +0000 (13:05 +0000)
commitedfc03519be703ee4072573096af06343a3b232a
treee7e4a28af75a8f56e122b06c85f268f299cc0b90
parent592b758f621d1c3bcd75ede926526412122f9327
ASoC: samsung: odroid: Add support for secondary CPU DAI

This patch adds DPCM links in order to support the secondary I2S interface.
For the secondary PCM interface to be actually available one more entry
should be added to the sound-dai property in sound/cpu node in DT.
The changes in driver are done in a way so we are backwards compatible
with existing DTS/DTB, i.e. if the cpu sound-dai property contains only
one entry only one PCM will be registered.

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/odroid.c