ASoC: qdsp6: q6asm-dai: Fix a NULL vs IS_ERR() bug
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 21 Dec 2018 09:05:16 +0000 (12:05 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 3 Jan 2019 16:32:55 +0000 (16:32 +0000)
commit3391034e18b35bba8904cae457598ac276ac685a
treefa87329bbe91a504ca0028dc27c2d33a77e9a9b7
parenteef08e5350618b7a9fdc8ac5b821a925366c8f3f
ASoC: qdsp6: q6asm-dai: Fix a NULL vs IS_ERR() bug

The q6asm_audio_client_alloc() doesn't return NULL, it returns error
pointers.

Fixes: 22930c79ac5c ("ASoC: qdsp6: q6asm-dai: Add support to compress offload")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/qdsp6/q6asm-dai.c