Home
last modified time | relevance | path

Searched hist:"7 c88b92816dfe5eab224b96577b50ac00b4be68a" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/sound/soc/sprd/
H A Dsprd-mcdt.cdiff 7c88b92816dfe5eab224b96577b50ac00b4be68a Mon Apr 29 07:25:12 CDT 2019 Wei Yongjun <weiyongjun1@huawei.com> 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: d7bff893e04f ("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>