projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89e448b
)
ALSA: hda: fix the missing ptr initialization
author
Vinod Koul
<vinod.koul@intel.com>
Thu, 5 May 2016 05:54:42 +0000
(11:24 +0530)
committer
Takashi Iwai
<tiwai@suse.de>
Sun, 8 May 2016 09:43:28 +0000
(11:43 +0200)
ebus is a member of extended device and was never initialized, so
do this at device creation.
Signed-off-by: Jeeja KP <jeeja.kp@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/ext/hdac_ext_bus.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/hda/ext/hdac_ext_bus.c
b/sound/hda/ext/hdac_ext_bus.c
index 2433f7c81472848be51b9af420ec198b523871b1..64de0a3d6d93c61443774ed5883bde18f98913f8 100644
(file)
--- a/
sound/hda/ext/hdac_ext_bus.c
+++ b/
sound/hda/ext/hdac_ext_bus.c
@@
-144,6
+144,7
@@
int snd_hdac_ext_bus_device_init(struct hdac_ext_bus *ebus, int addr)
if (!edev)
return -ENOMEM;
hdev = &edev->hdac;
+ edev->ebus = ebus;
snprintf(name, sizeof(name), "ehdaudio%dD%d", ebus->idx, addr);