11 Jul
2016
11 Jul
'16
8:10 p.m.
On Mon, 11 Jul 2016 19:51:06 +0200, Peter Wu wrote:
register_vga_switcheroo() sets the PM ops from the hda structure which is freed later in azx_free. Make sure that these ops are cleared.
Caught by KASAN, initially noticed due to a general protection fault.
Fixes: 246efa4a072f ("snd/hda: add runtime suspend/resume on optimus support (v4)") Signed-off-by: Peter Wu peter@lekensteyn.nl
Maybe Cc stable?
Yes, I applied with Cc to stable now.
thanks,
Takashi