A recent commit added calls to the snd_hda_*_fixup functions. Under
kernel 3.8 and earlier these functions require a hda_gen_spec struct
to be first in the spec struct, or memory corruption might occur.

Buglink: https://bugs.launchpad.net/bugs/1169984
Signed-off-by: David Henningsson <david.hennings...@canonical.com>
---
 sound/pci/hda/patch_hdmi.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c
index 6ae6331..1eee344 100644
--- a/sound/pci/hda/patch_hdmi.c
+++ b/sound/pci/hda/patch_hdmi.c
@@ -80,6 +80,7 @@ struct hdmi_spec_per_pin {
 };
 
 struct hdmi_spec {
+       struct hda_gen_spec gen;
        int num_cvts;
        struct hdmi_spec_per_cvt cvts[MAX_HDMI_CVTS];
 
-- 
1.7.9.5

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1169984

Title:
  Oops in patch_hdmi_generic (ALSA driver)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1169984/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to