diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-07-15 15:19:43 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-07-15 15:19:43 +0200 |
commit | 4da63c6fc426023d1a20e45508c47d7d68c6a53d (patch) | |
tree | 6c9781df9a0f74afc9f9b5144db72623228ac05a /kernel/kallsyms.c | |
parent | cd50065b3be83a705635550c04e368f2a4cc44d0 (diff) | |
download | blackbird-obmc-linux-4da63c6fc426023d1a20e45508c47d7d68c6a53d.tar.gz blackbird-obmc-linux-4da63c6fc426023d1a20e45508c47d7d68c6a53d.zip |
ALSA: hda - Fix broken PM due to incomplete i915 initialization
When the initialization of Intel HDMI controller fails due to missing
i915 kernel symbols (e.g. HD-audio is built in while i915 is module),
the driver discontinues the probe. However, since the probe was done
asynchronously, the driver object still remains, thus the relevant PM
ops are still called at suspend/resume. This results in the bad access
to the incomplete audio card object, eventually leads to Oops or stall
at PM.
This patch adds the missing checks of chip->init_failed flag at each
PM callback in order to fix the problem above.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=79561
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'kernel/kallsyms.c')
0 files changed, 0 insertions, 0 deletions