]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ASoC: hdac_hdmi: check error return
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Tue, 1 Dec 2015 08:59:35 +0000 (14:29 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 1 Dec 2015 18:44:26 +0000 (18:44 +0000)
commit3c83ac23253c6a1b6d3ebcb4bb05eabb8337c9df
tree22ca9b118574992dcf15582794891635e0623268
parent65976878ca692566ed066f4fa977de517f697c59
ASoC: hdac_hdmi: check error return

As hdac->num_nodes is unsigned we can not check if
snd_hdac_get_sub_nodes() has returned error or success. Lets have a
temporary int to check the error value.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/hdac_hdmi.c