OSDN Git Service

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)
commitbc3cf17b575a7a97b4af7ddcf86133175da7a582
treee7e4a28af75a8f56e122b06c85f268f299cc0b90
parentdefc67c6e3638020cc6189d056e0bc187b297068
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