diff options
Diffstat (limited to 'sound/soc/qcom/apq8096.c')
-rw-r--r-- | sound/soc/qcom/apq8096.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/soc/qcom/apq8096.c b/sound/soc/qcom/apq8096.c index f2b5726d3bf1..690edb332d94 100644 --- a/sound/soc/qcom/apq8096.c +++ b/sound/soc/qcom/apq8096.c @@ -166,10 +166,8 @@ static int apq8096_platform_probe(struct platform_device *pdev) dev_set_drvdata(dev, card); snd_soc_card_set_drvdata(card, data); ret = qcom_snd_parse_of(card); - if (ret) { - dev_err(dev, "Error parsing OF data\n"); + if (ret) goto err; - } apq8096_add_be_ops(card); ret = snd_soc_register_card(card); |