aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/at32/playpaq_wm8510.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sound/soc/at32/playpaq_wm8510.c b/sound/soc/at32/playpaq_wm8510.c
index 7e6560ba7510..98a2d5826a85 100644
--- a/sound/soc/at32/playpaq_wm8510.c
+++ b/sound/soc/at32/playpaq_wm8510.c
@@ -406,7 +406,6 @@ static int __init playpaq_asoc_init(void)
406 ssc = ssc_request(0); 406 ssc = ssc_request(0);
407 if (IS_ERR(ssc)) { 407 if (IS_ERR(ssc)) {
408 ret = PTR_ERR(ssc); 408 ret = PTR_ERR(ssc);
409 ssc = NULL;
410 goto err_ssc; 409 goto err_ssc;
411 } 410 }
412 ssc_p->ssc = ssc; 411 ssc_p->ssc = ssc;
@@ -477,10 +476,7 @@ err_pll0:
477 _gclk0 = NULL; 476 _gclk0 = NULL;
478 } 477 }
479err_gclk0: 478err_gclk0:
480 if (ssc != NULL) { 479 ssc_free(ssc);
481 ssc_free(ssc);
482 ssc = NULL;
483 }
484err_ssc: 480err_ssc:
485 return ret; 481 return ret;
486} 482}