projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e9436f
)
ASoC: stm32: fix a typo in stm32_adfsdm_probe()
author
Wei Yongjun
<weiyongjun1@huawei.com>
Thu, 11 Jan 2018 11:11:51 +0000
(11:11 +0000)
committer
Mark Brown
<broonie@kernel.org>
Thu, 11 Jan 2018 12:29:27 +0000
(12:29 +0000)
Fix a typo, we should return PTR_ERR(priv->iio_cb) instead of
PTR_ERR(priv->iio_ch).
Fixes:
55da094824c4
("ASoC: stm32: add DFSDM DAI support")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/stm/stm32_adfsdm.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/stm/stm32_adfsdm.c
b/sound/soc/stm/stm32_adfsdm.c
index af50891983c6aa6612a8dbacd6f6d368801821f8..7306e3eca9e16016b6a76ac22415fa3041720750 100644
(file)
--- a/
sound/soc/stm/stm32_adfsdm.c
+++ b/
sound/soc/stm/stm32_adfsdm.c
@@
-320,7
+320,7
@@
static int stm32_adfsdm_probe(struct platform_device *pdev)
priv->iio_cb = iio_channel_get_all_cb(&pdev->dev, NULL, NULL);
if (IS_ERR(priv->iio_cb))
- return PTR_ERR(priv->iio_c
h
);
+ return PTR_ERR(priv->iio_c
b
);
ret = devm_snd_soc_register_platform(&pdev->dev,
&stm32_adfsdm_soc_platform);