]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: midas-audio: Correct parsing sound-dai phandles
authorKrzysztof Kozlowski <krzk@kernel.org>
Sun, 30 Aug 2020 11:26:32 +0000 (13:26 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 1 Sep 2020 13:00:17 +0000 (14:00 +0100)
commitbc2ada37118083cd0a32eb92c625062020566c01
treea2fea99a24691172e900769e83dc41d5626c043b
parent1c1e731c9389609e0225de02a0a5e225ce4e94a1
ASoC: midas-audio: Correct parsing sound-dai phandles

The "sound-dai" property has cells therefore phandle-array should be
used, even if it is just one phandle.  This fixes dtbs_check warnings
like:

  arch/arm/boot/dts/exynos4412-trats2.dt.yaml: sound: cpu:sound-dai:0:1: missing phandle tag in 0
  arch/arm/boot/dts/exynos4412-trats2.dt.yaml: sound: cpu:sound-dai:0: [158, 0] is too long

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Link: https://lore.kernel.org/r/20200830112633.6732-1-krzk@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/sound/samsung,midas-audio.yaml