linux_dsm_epyc7002/sound/soc/sprd
Wei Yongjun 7c88b92816
ASoC: sprd: Fix return value check in sprd_mcdt_probe()
In case of error, the function devm_ioremap_resource() returns ERR_PTR()
and never returns NULL. The NULL test in the return value check should
be replaced with IS_ERR().

Fixes: d7bff893e0 ("ASoC: sprd: Add Spreadtrum multi-channel data transfer support")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
2019-05-02 11:01:17 +09:00
..
Kconfig ASoC: sprd: Add Spreadtrum multi-channel data transfer support 2019-04-25 19:43:49 +01:00
Makefile ASoC: sprd: Add Spreadtrum multi-channel data transfer support 2019-04-25 19:43:49 +01:00
sprd-mcdt.c ASoC: sprd: Fix return value check in sprd_mcdt_probe() 2019-05-02 11:01:17 +09:00
sprd-mcdt.h ASoC: sprd: Add Spreadtrum multi-channel data transfer support 2019-04-25 19:43:49 +01:00
sprd-pcm-compress.c ASoC: sprd: Fix spelling mistake "faied" -> "failed" 2019-04-04 15:11:34 +07:00
sprd-pcm-dma.c ASoC: sprd: Add Spreadtrum audio compress offload support 2019-04-02 12:57:03 +07:00
sprd-pcm-dma.h ASoC: sprd: Add Spreadtrum audio compress offload support 2019-04-02 12:57:03 +07:00