linux/sound/soc/sh/rcar
Geert Uytterhoeven 8b27418f30 ASoC: rsnd: Add missing initialization of ADG req_rate
If the "clock-frequency" DT property is not found, req_rate is used
uninitialized, and the "audio_clkout" clock will be created with an
arbitrary clock rate.

This uninitialized kernel stack data may leak to userspace through
/sys/kernel/debug/clk/clk_summary, cfr. the value in the "rate" column:

       clock     enable_cnt  prepare_cnt        rate   accuracy   phase
    --------------------------------------------------------------------
     audio_clkout         0            0  4001836240          0 0

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2015-11-16 10:09:29 +00:00
..
adg.c ASoC: rsnd: Add missing initialization of ADG req_rate 2015-11-16 10:09:29 +00:00
cmd.c ASoC: rsnd: use mod base common method on CMD 2015-11-16 10:09:29 +00:00
core.c ASoC: rsnd: use mod base common method on SSIU 2015-11-16 10:09:29 +00:00
ctu.c ASoC: rsnd: use mod base common method on CMD 2015-11-16 10:09:29 +00:00
dma.c ASoC: rsnd: fixup rsnd_dmapp_stop() return value 2015-11-16 10:09:29 +00:00
dvc.c ASoC: rsnd: use mod base common method on CMD 2015-11-16 10:09:29 +00:00
gen.c ASoC: rsnd: fixup struct rsnd_gen::res array size 2015-10-22 13:30:01 +01:00
Makefile ASoC: rsnd: use mod base common method on SSIU 2015-11-16 10:09:29 +00:00
mix.c ASoC: rsnd: use mod base common method on CMD 2015-11-16 10:09:29 +00:00
rcar_snd.h ASoC: rsnd: Remove obsolete platform data support 2015-10-07 12:19:51 +01:00
rsnd.h ASoC: rsnd: use mod base common method on SSI-parent 2015-11-16 10:09:29 +00:00
rsrc-card.c ASoC: rsrc-card: use snd_soc_of_parse_audio_route/prefix for routing 2015-07-16 22:10:32 +01:00
src.c ASoC: rsnd: call rsnd_src_quit() from rsnd_src_quit_gen2() 2015-11-16 10:09:29 +00:00
ssi.c ASoC: rsnd: use mod base common method on SSI-parent 2015-11-16 10:09:29 +00:00
ssiu.c ASoC: rsnd: use mod base common method on SSIU 2015-11-16 10:09:29 +00:00