WSL2-Linux-Kernel/sound/soc/sh
Marek Vasut e8dffe6c20 ASoC: rsnd: Fix possible NULL pointer dereference
25165f79ad
("ASoC: rsnd: enable clock-frequency for both 44.1kHz/48kHz")
supports both 44.1kHz/48kHz clock-frequency settings for ADG
which will be used for AUDIO_OLKOUTn.
But some board doesn't need it, thus, it is not mandatory.

But, above patch didn't care about the case of "clock-frequency" DT
property was not present.
This patch ignores ADG settings if AUDIO_OLKOUTn was not used.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
[Kuninori: tidyup not to break non AUDIO_OLKOUTn case]
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2017-04-21 17:51:48 +01:00
..
rcar ASoC: rsnd: Fix possible NULL pointer dereference 2017-04-21 17:51:48 +01:00
Kconfig ASoC: rsnd: enable COMPILE_TEST 2016-10-26 13:13:25 +01:00
Makefile ASoC: add Renesas R-Car core feature 2013-07-28 19:34:09 +01:00
dma-sh7760.c ASoC: sh: dma-sh7760: Convert to devm_snd_soc_register_platform 2015-08-30 12:15:10 +01:00
fsi.c ASoC: sh: fix fsi build warnings for 64 bit 2015-11-21 13:27:03 +00:00
hac.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
migor.c ASoC: migor: use clkdev_create() 2015-05-06 11:58:59 +01:00
sh7760-ac97.c ASoC: sh: Add .owner to struct snd_soc_card 2011-12-23 11:32:07 +00:00
siu.h ASoC: Do not include soc-dai.h 2010-11-22 14:04:53 +00:00
siu_dai.c ASoC: sh: siu_dai: Convert to use resource managed APIs 2015-09-14 18:39:05 +01:00
siu_pcm.c ASoC: sh: Remove unnecessary snd_pcm_lib_preallocate_free_for_all() 2015-01-05 21:30:05 +00:00
ssi.c ASoC: sh: ssi: Convert to devm_snd_soc_register_component 2015-08-28 17:28:49 +01:00