diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2018-05-07 04:39:45 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-05-09 11:32:05 +0300 |
commit | aaa730ca3f88f535dc12e2f0ff575f70f516841b (patch) | |
tree | 73e77fab09612d4d0de6436e0087b6337209f0b4 /sound/soc/uniphier | |
parent | 2d8102cc9a27577ffa4335aaaed4a26060688de2 (diff) | |
download | linux-aaa730ca3f88f535dc12e2f0ff575f70f516841b.tar.xz |
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>
Diffstat (limited to 'sound/soc/uniphier')
0 files changed, 0 insertions, 0 deletions