diff options
author | Mark Brown <broonie@kernel.org> | 2020-09-17 18:35:38 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-09-17 18:35:38 +0300 |
commit | 4db68e62a0b912655c598de829b05b2383da0cab (patch) | |
tree | 14c717646e8de62283aaa9c08b747e8db3871dbd /sound/soc/codecs/max98373-sdw.c | |
parent | d70a4412e264cd8ff7a034505184c0b54876532a (diff) | |
parent | 244ac15de75ca62ed7a09c7291b67aeead9e12ac (diff) | |
download | linux-4db68e62a0b912655c598de829b05b2383da0cab.tar.xz |
Merge branch 'asoc-5.9' into asoc-5.10
Diffstat (limited to 'sound/soc/codecs/max98373-sdw.c')
-rw-r--r-- | sound/soc/codecs/max98373-sdw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/max98373-sdw.c b/sound/soc/codecs/max98373-sdw.c index 6469612c42cb..c1bd320633ad 100644 --- a/sound/soc/codecs/max98373-sdw.c +++ b/sound/soc/codecs/max98373-sdw.c @@ -841,8 +841,8 @@ static int max98373_sdw_probe(struct sdw_slave *slave, /* Regmap Initialization */ regmap = devm_regmap_init_sdw(slave, &max98373_sdw_regmap); - if (!regmap) - return -EINVAL; + if (IS_ERR(regmap)) + return PTR_ERR(regmap); return max98373_init(slave, regmap); } |