projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-3.0' into for-3.1
[firefly-linux-kernel-4.4.55.git]
/
sound
/
soc
/
atmel
/
atmel_ssc_dai.c
diff --git
a/sound/soc/atmel/atmel_ssc_dai.c
b/sound/soc/atmel/atmel_ssc_dai.c
index eda955b158343c527548ea77bff97edc1e530425..f53dc09c48f3146cca8e4415e6644f59bf88e4bd 100644
(file)
--- a/
sound/soc/atmel/atmel_ssc_dai.c
+++ b/
sound/soc/atmel/atmel_ssc_dai.c
@@
-838,10
+838,8
@@
int atmel_ssc_set_audio(int ssc_id)
}
ssc_pdev = platform_device_alloc("atmel-ssc-dai", ssc_id);
- if (!ssc_pdev) {
- ssc_free(ssc);
+ if (!ssc_pdev)
return -ENOMEM;
- }
/* If we can grab the SSC briefly to parent the DAI device off it */
ssc = ssc_request(ssc_id);