]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Fix unbalance of i915 module refcount
authorTakashi Iwai <tiwai@suse.de>
Tue, 4 Jul 2017 14:04:38 +0000 (16:04 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 4 Jul 2017 14:04:38 +0000 (16:04 +0200)
commitd10b0f59e90f9432112d2a7bae53a64cf3a3d5fc
tree36580d72e1944b8e094fe662157ba587b1fbaa89
parentacc98792be1a66ea5492b4b8417bcc4001439a62
ALSA: hda - Fix unbalance of i915 module refcount

The commit a8f6d1ce200e ("ALSA: hda - Fix doubly initialization of
i915 component") contained a typo that leads to the unbalance of i915
module reference.  The value to be checked is not chip->driver_type
but chip->driver_caps.

Fixes: a8f6d1ce200e ("ALSA: hda - Fix doubly initialization of i915 component")
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=196219
Reported-by: Martin Peres <martin.peres@free.fr>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c