summaryrefslogtreecommitdiff
path: root/sound/soc/uniphier
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2018-05-07 04:39:45 +0300
committerMark Brown <broonie@kernel.org>2018-05-09 11:32:05 +0300
commitaaa730ca3f88f535dc12e2f0ff575f70f516841b (patch)
tree73e77fab09612d4d0de6436e0087b6337209f0b4 /sound/soc/uniphier
parent2d8102cc9a27577ffa4335aaaed4a26060688de2 (diff)
downloadlinux-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