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 remote-tracking branches 'asoc/topic/omap', 'asoc/topic/qcom', 'asoc/topic...
[firefly-linux-kernel-4.4.55.git]
/
sound
/
soc
/
omap
/
omap-hdmi-audio.c
diff --git
a/sound/soc/omap/omap-hdmi-audio.c
b/sound/soc/omap/omap-hdmi-audio.c
index 1822578bbc2ca83869eb7b032079fd9b5c30286c..4775da4c4db56529bbc0a6bd6be0b7b2a24370f0 100644
(file)
--- a/
sound/soc/omap/omap-hdmi-audio.c
+++ b/
sound/soc/omap/omap-hdmi-audio.c
@@
-350,6
+350,9
@@
static int omap_hdmi_audio_probe(struct platform_device *pdev)
return ret;
card = devm_kzalloc(dev, sizeof(*card), GFP_KERNEL);
+ if (!card)
+ return -ENOMEM;
+
card->name = devm_kasprintf(dev, GFP_KERNEL,
"HDMI %s", dev_name(ad->dssdev));
card->owner = THIS_MODULE;