ARM: dts: exynos: Specify I2S assigned clocks in proper node
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Wed, 12 Dec 2018 17:57:44 +0000 (18:57 +0100)
committerKrzysztof Kozlowski <krzk@kernel.org>
Thu, 13 Dec 2018 20:56:07 +0000 (21:56 +0100)
commit8ac686d7dfed721102860ff2571e6b9f529ae81a
tree5f1b971161f4a9cf8dcdec7cd9d1bced085d25e3
parent497f1bcb9009fbcf1376aaa19b0b23a7e6988832
ARM: dts: exynos: Specify I2S assigned clocks in proper node

The assigned parent clocks should be normally specified in the consumer
device's DT node, this ensures respective driver always sees correct clock
settings when required.

This patch fixes regression in audio subsystem on Odroid XU3/XU4 boards
that appeared after commits:

commit 647d04f8e07a ("ASoC: samsung: i2s: Ensure the RCLK rate is properly determined")
commit 995e73e55f46 ("ASoC: samsung: i2s: Fix rclk_srcrate handling")
commit 48279c53fd1d ("ASoC: samsung: i2s: Prevent external abort on exynos5433 I2S1 access")

Without this patch the driver gets wrong clock as the I2S function clock
(op_clk) in probe() and effectively the clock which is finally assigned
from DT is not being enabled/disabled in the runtime resume/suspend ops.

Without the above listed commits the EXYNOS_I2S_BUS clock was always set
as parent of CLK_I2S_RCLK_SRC regardless of DT settings so there was no issue
with not enabled EXYNOS_SCLK_I2S.

Cc: <stable@vger.kernel.org> # 4.17.x
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/boot/dts/exynos5422-odroidxu3-audio.dtsi
arch/arm/boot/dts/exynos5422-odroidxu4.dts