]> git.baikalelectronics.ru Git - kernel.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)
commit0ee914f0c3cf434f95688f1d8761be8890bae54b
tree5888d8333296564a2b0f259f20076359163b135e
parentcfe707edaca3fcf176cae80c8b545635c7889963
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