linux/sound/soc/mediatek
Dan Carpenter b02c5cc723 ASoC: mediatek: mt2701: fix some error handling in probe
The check for if the "afe" allocation failed was too late and there
wasn't a check for "afe->platform_priv".

Fixes: 43a6a7e710 ('ASoC: mediatek: add mt2701 platform driver implementation.')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Garlic Tseng <garlic.tseng@mediatek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2016-07-07 11:40:58 +02:00
..
common ASoC: mediatek: let mt8173 use mediatek common structure 2016-06-29 20:11:09 +01:00
mt2701 ASoC: mediatek: mt2701: fix some error handling in probe 2016-07-07 11:40:58 +02:00
mt8173 ASoC: mediatek: let mt8173 use mediatek common structure 2016-06-29 20:11:09 +01:00
Kconfig ASoC: mediatek: Add mt2701-cs42448 driver and config option. 2016-07-04 16:49:03 +02:00
Makefile ASoC: mediatek: Add mt2701-cs42448 driver and config option. 2016-07-04 16:49:03 +02:00