ASoC: samsung: i2s: Ensure names of supplied clocks are unique
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Mon, 12 Feb 2018 16:15:33 +0000 (17:15 +0100)
committerJunghoon Kim <jhoon20.kim@samsung.com>
Thu, 14 Feb 2019 05:56:23 +0000 (14:56 +0900)
commit381b93ec490b5f74eed64aee1f79278dfae9907e
treed1515f9b75ecdd24d3239987c55317e171171460
parentb73f1e44f97d633b60b866ecbc2fdec3452f447d
ASoC: samsung: i2s: Ensure names of supplied clocks are unique

In order to support multiple instances of the I2S IP block the platform
device name is prepended to each clock registered by the driver.
The clock-output-names property is now not used, this should not cause
any issues as, for example, CDCLK clock is referenced through DT 'clocks'
property, not by name.

This change allows to have both I2S0 and I2S1 enabled simultaneously
on exynos5433 and working properly when #clock-cells property is specified
in respective DT nodes.

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