diff options
author | Vinod Koul <vinod.koul@intel.com> | 2016-05-05 05:54:42 (GMT) |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2016-05-08 09:43:28 (GMT) |
commit | 94e9080ce22d9fb7c0a4361a5890b2c6affc9b1b (patch) | |
tree | 1b6be6fb0c0ce69fec0b4b3513139daf49f84b97 | |
parent | 89e448b33a101dfc7218f3181bc3095af850db7a (diff) | |
download | linux-94e9080ce22d9fb7c0a4361a5890b2c6affc9b1b.tar.xz |
ALSA: hda: fix the missing ptr initialization
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>
-rw-r--r-- | sound/hda/ext/hdac_ext_bus.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/hda/ext/hdac_ext_bus.c b/sound/hda/ext/hdac_ext_bus.c index 2433f7c..64de0a3 100644 --- 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); |