commit | f0df2e650e3eee5ff79c06dedb98c318ff177a95 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Wed Jan 08 03:59:54 2020 +0000 |
committer | Mark Brown <broonie@kernel.org> | Thu Jan 09 13:23:43 2020 +0000 |
tree | f4d2336f189a09632fe494a22f945c7275fa1597 | |
parent | 599b10193c77e4b8a68192b3b277a01e8b467043 [diff] |
ASoC: amd: acp3x: Fix return value check in acp3x_dai_probe() In case of error, the function devm_ioremap() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Fixes: c9fe7db6e884 ("ASoC: amd: Refactoring of DAI from DMA driver") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Link: https://lore.kernel.org/r/20200108035954.51317-1-weiyongjun1@huawei.com Signed-off-by: Mark Brown <broonie@kernel.org>