linux/sound/soc/mediatek
Wei Yongjun 3e8052d90d
ASoC: mediatek: mt2701: fix return value check in mt2701_afe_pcm_dev_probe()
In case of error, the function syscon_node_to_regmap() returns ERR_PTR()
and never returns NULL. The NULL test in the return value check should
be replaced with IS_ERR().

Fixes: dfa3cbb83e ("ASoC: mediatek: modify MT2701 AFE driver to adapt mfd device")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2018-01-08 11:27:45 +00:00
..
common ASoC: mediatek: mark symbols static where possible 2016-08-11 15:02:28 +01:00
mt2701 ASoC: mediatek: mt2701: fix return value check in mt2701_afe_pcm_dev_probe() 2018-01-08 11:27:45 +00:00
mt8173 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig ASoC: mediatek: add I2C dependency for CS42XX8 2017-04-21 17:58:34 +01:00
Makefile ASoC: mediatek: Add mt2701-cs42448 driver and config option. 2016-07-04 16:49:03 +02:00