commit | 185457632ba344d3100e6bdd8ba839b959521813 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Wed May 27 03:02:10 2020 +0000 |
committer | Mark Brown <broonie@kernel.org> | Wed May 27 14:48:56 2020 +0100 |
tree | d98a69bd4547ddc201317a732135a391265ff123 | |
parent | 850ba84b5c6d4ad4d1259584ebc0338eb769f2ef [diff] |
ASoC: mmp-sspa: Fix return value check in asoc_mmp_sspa_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. Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Link: https://lore.kernel.org/r/20200527030210.124393-1-weiyongjun1@huawei.com Signed-off-by: Mark Brown <broonie@kernel.org>