summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/hdac_hdmi.c
diff options
context:
space:
mode:
authorCharles Keepax2018-09-06 18:41:55 +0200
committerMark Brown2018-09-07 12:35:08 +0200
commitfc269c0396448cabe1afd648c0b335669aa347b7 (patch)
tree30bd0b977391c7248394b66b7512595873be00c3 /sound/soc/codecs/hdac_hdmi.c
parentASoC: rsnd: Add device tree binding for r8a77990 (diff)
downloadkernel-qcow2-linux-fc269c0396448cabe1afd648c0b335669aa347b7.tar.gz
kernel-qcow2-linux-fc269c0396448cabe1afd648c0b335669aa347b7.tar.xz
kernel-qcow2-linux-fc269c0396448cabe1afd648c0b335669aa347b7.zip
ASoC: dapm: Avoid uninitialised variable warning
Commit 4a75aae17b2a ("ASoC: dapm: Add support for multi-CODEC CODEC to CODEC links") adds loops that iterate over multiple CODECs in snd_soc_dai_link_event. This also introduced a compiler warning for a potentially uninitialised variable in the case no CODECs are present. This should never be the case as the DAI link must by definition contain at least 1 CODEC however probably best to avoid the compiler warning by initialising ret to zero. Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/hdac_hdmi.c')
0 files changed, 0 insertions, 0 deletions