diff options
| -rw-r--r-- | sound/soc/pxa/pxa-ssp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/pxa/pxa-ssp.c b/sound/soc/pxa/pxa-ssp.c index 199a8b377553..0109f6c2334e 100644 --- a/sound/soc/pxa/pxa-ssp.c +++ b/sound/soc/pxa/pxa-ssp.c | |||
| @@ -723,7 +723,8 @@ static int pxa_ssp_probe(struct snd_soc_dai *dai) | |||
| 723 | ssp_handle = of_parse_phandle(dev->of_node, "port", 0); | 723 | ssp_handle = of_parse_phandle(dev->of_node, "port", 0); |
| 724 | if (!ssp_handle) { | 724 | if (!ssp_handle) { |
| 725 | dev_err(dev, "unable to get 'port' phandle\n"); | 725 | dev_err(dev, "unable to get 'port' phandle\n"); |
| 726 | return -ENODEV; | 726 | ret = -ENODEV; |
| 727 | goto err_priv; | ||
| 727 | } | 728 | } |
| 728 | 729 | ||
| 729 | priv->ssp = pxa_ssp_request_of(ssp_handle, "SoC audio"); | 730 | priv->ssp = pxa_ssp_request_of(ssp_handle, "SoC audio"); |
