ASoC: stm32: fix a typo in stm32_adfsdm_probe()
authorWei Yongjun <weiyongjun1@huawei.com>
Thu, 11 Jan 2018 11:11:51 +0000 (11:11 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 11 Jan 2018 12:29:27 +0000 (12:29 +0000)
commit6dee6722c6065f4850eab98c2b7b9f4a08a35813
treea4e7d76791fbe4fc2c0ee6b43b8aeeac87d9c7a4
parent4e9436fb8477ba245d6db1e7c6aa75d6d9afcfc3
ASoC: stm32: fix a typo in stm32_adfsdm_probe()

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