summaryrefslogtreecommitdiff
path: root/include/sound/ad1816a.h
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut+renesas@gmail.com>2017-04-21 03:41:20 +0300
committerMark Brown <broonie@kernel.org>2017-04-21 19:51:48 +0300
commite8dffe6c2004278c588b3bb441a3dbe998a3f2e4 (patch)
tree2ae9efc7f10f342bc93ff235facea2ead65a68d3 /include/sound/ad1816a.h
parent75f9e4adb56fbb8ffaab7d316f0c02df00e4b755 (diff)
downloadlinux-e8dffe6c2004278c588b3bb441a3dbe998a3f2e4.tar.xz
ASoC: rsnd: Fix possible NULL pointer dereference
25165f79adc76b812bfb4d8f2ab120aafb28d0e6 ("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>
Diffstat (limited to 'include/sound/ad1816a.h')
0 files changed, 0 insertions, 0 deletions