]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda/intel: Properly free the display power at error path
authorTakashi Iwai <tiwai@suse.de>
Sun, 9 Dec 2018 08:59:03 +0000 (09:59 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 11 Dec 2018 07:15:45 +0000 (08:15 +0100)
commite0bb4148f95c80d28e65cf207c940d6d79ba10f5
tree42556bf31da911f647e539b3909fc53b6244fded
parentfd12da10475d7cd11a3293084790633854f66fd8
ALSA: hda/intel: Properly free the display power at error path

When an error occurs in azx_probe_continue(), we should release the
display power.  However, the current code ignores it and releases the
display power only for HSW/BDW cases.  Fix it.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c