diff options
author | Mark Brown <broonie@kernel.org> | 2020-09-17 17:35:38 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-09-17 17:35:38 +0200 |
commit | 4db68e62a0b912655c598de829b05b2383da0cab (patch) | |
tree | 14c717646e8de62283aaa9c08b747e8db3871dbd /sound/soc/codecs/rt1308-sdw.c | |
parent | Merge series "ASoC: SOF: DSP core management fixes for 5.10" from Kai Vehmane... (diff) | |
parent | ASoC: tlv320adcx140: Fix BCLK inversion for DSP modes (diff) | |
download | linux-4db68e62a0b912655c598de829b05b2383da0cab.tar.xz linux-4db68e62a0b912655c598de829b05b2383da0cab.zip |
Merge branch 'asoc-5.9' into asoc-5.10
Diffstat (limited to 'sound/soc/codecs/rt1308-sdw.c')
-rw-r--r-- | sound/soc/codecs/rt1308-sdw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/rt1308-sdw.c b/sound/soc/codecs/rt1308-sdw.c index 6a2318e04bb7..b288e1a7d956 100644 --- a/sound/soc/codecs/rt1308-sdw.c +++ b/sound/soc/codecs/rt1308-sdw.c @@ -684,8 +684,8 @@ static int rt1308_sdw_probe(struct sdw_slave *slave, /* Regmap Initialization */ regmap = devm_regmap_init_sdw(slave, &rt1308_sdw_regmap); - if (!regmap) - return -EINVAL; + if (IS_ERR(regmap)) + return PTR_ERR(regmap); rt1308_sdw_init(&slave->dev, regmap, slave); |