summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sound/soc/codecs/tas2783-sdw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/tas2783-sdw.c b/sound/soc/codecs/tas2783-sdw.c
index c2a7be51bdc6..1fb4227b711e 100644
--- a/sound/soc/codecs/tas2783-sdw.c
+++ b/sound/soc/codecs/tas2783-sdw.c
@@ -1285,7 +1285,7 @@ static s32 tas_sdw_probe(struct sdw_slave *peripheral,
&tas_regmap,
&tas2783_mbq_cfg);
if (IS_ERR(regmap))
- return dev_err_probe(dev, PTR_ERR(tas_dev->regmap),
+ return dev_err_probe(dev, PTR_ERR(regmap),
"Failed devm_regmap_init_sdw.");
/* keep in cache until the device is fully initialized */