commit | aaa730ca3f88f535dc12e2f0ff575f70f516841b | [log] [tgz] |
---|---|---|
author | Wei Yongjun <weiyongjun1@huawei.com> | Mon May 07 01:39:45 2018 +0000 |
committer | Mark Brown <broonie@kernel.org> | Wed May 09 17:32:05 2018 +0900 |
tree | 73e77fab09612d4d0de6436e0087b6337209f0b4 | |
parent | 2d8102cc9a27577ffa4335aaaed4a26060688de2 [diff] |
ASoC: fix return value check in mt6351_codec_driver_probe() In case of error, the function dev_get_regmap() 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> Signed-off-by: Mark Brown <broonie@kernel.org>