]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rsnd: adg: care clock-frequency size
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 6 Sep 2018 03:21:33 +0000 (03:21 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 6 Sep 2018 10:12:52 +0000 (11:12 +0100)
commit093ed00588fd2cb6e2e7edca4a0ed14d23ff7932
tree7e4c18d4919a0039d6b10093ec473e5d165e3f3a
parentebbf5667f6572f8f651934091432f6f91bfeb60e
ASoC: rsnd: adg: care clock-frequency size

ADG has buffer over flow bug if DT has more than 3 clock-frequency.
This patch fixup this issue, and uses first 2 values.

clock-frequency = <x y>; /* this is OK */
clock-frequency = <x y z>; /* this is NG */

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tested-by: Hiroyuki Yokoyama <hiroyuki.yokoyama.vx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/adg.c