]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ASoC: wm_adsp: Check return value from wm_adsp_buffer_init
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Tue, 22 Nov 2016 15:38:34 +0000 (15:38 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 22 Nov 2016 18:41:33 +0000 (18:41 +0000)
commit48c2c99359044763b0cf21e59405638f9630fe06
tree5888d8333296564a2b0f259f20076359163b135e
parent1db51e6fb0f5596518975fd1b2f7ef050e9d58ef
ASoC: wm_adsp: Check return value from wm_adsp_buffer_init

We are not checking the return value from a call to wm_adsp_buffer_init
it looks like this used to be returned at the bottom of the function but
probably got missed when more error paths were added. This patch adds
the appropriate error check.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm_adsp.c