]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rsnd: fixup clkout_name[] index error for single AUDIO_CLKOUT SoC
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 15 Sep 2015 02:44:37 +0000 (02:44 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 16 Sep 2015 19:40:39 +0000 (20:40 +0100)
commitd40076ea1d82e06c392ffbe67e99537b58733f33
treeed1fb09586ffec9c2d2de3671049149f44bede4b
parentec2cf7bb76b5ad86fc80e6fe68b0099a5cf01621
ASoC: rsnd: fixup clkout_name[] index error for single AUDIO_CLKOUT SoC

b0f40ff47("ASoC: rsnd: add AUDIO_CLKOUT support") added AUDIO_CLKOUT
support for ADG. But single AUDIO_CLKOUT needs clkout_name[CLKOUT],
not clkout_name[i]. Kernel will have NULL pointer access without this
patch.

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