summaryrefslogtreecommitdiffstats
path: root/sound/soc/stm
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2020-03-27 17:04:55 +0100
committerMark Brown <broonie@kernel.org>2020-03-27 17:04:55 +0100
commit8c0b6e150c5b1e6359e4f478d9fa4aaae345979d (patch)
treed2075797f14eeae103213d0563c410931f5ad33e /sound/soc/stm
parentMerge series "ASoC: remove rtd->cpu/codec_dai{s}" from Kuninori Morimoto <kun... (diff)
parentASoC: Intel: bdw-rt5650: Revert SSP0 link to use dummy components (diff)
downloadlinux-8c0b6e150c5b1e6359e4f478d9fa4aaae345979d.tar.xz
linux-8c0b6e150c5b1e6359e4f478d9fa4aaae345979d.zip
Merge branch 'for-5.6' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-5.7
Diffstat (limited to 'sound/soc/stm')
-rw-r--r--sound/soc/stm/stm32_spdifrx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/stm/stm32_spdifrx.c b/sound/soc/stm/stm32_spdifrx.c
index ae7a0f46a6fb..1bfa3b2ba974 100644
--- a/sound/soc/stm/stm32_spdifrx.c
+++ b/sound/soc/stm/stm32_spdifrx.c
@@ -1038,6 +1038,8 @@ static int stm32_spdifrx_probe(struct platform_device *pdev)
if (idr == SPDIFRX_IPIDR_NUMBER) {
ret = regmap_read(spdifrx->regmap, STM32_SPDIFRX_VERR, &ver);
+ if (ret)
+ goto error;
dev_dbg(&pdev->dev, "SPDIFRX version: %lu.%lu registered\n",
FIELD_GET(SPDIFRX_VERR_MAJ_MASK, ver),