projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-5.6' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie...
[linux-block.git]
/
sound
/
soc
/
stm
/
stm32_spdifrx.c
diff --git
a/sound/soc/stm/stm32_spdifrx.c
b/sound/soc/stm/stm32_spdifrx.c
index ae7a0f46a6fb13b8c6a7fc5f90250c7a1ccea5a8..1bfa3b2ba9744af351ebe38682d6c11e3846256c 100644
(file)
--- 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),