Skip to content
Commit fc18282c authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: hda - Fix unbalance of i915 module refcount

The commit dba9b7b6 ("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: dba9b7b6

 ("ALSA: hda - Fix doubly initialization of i915 component")
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=196219
Reported-by: default avatarMartin Peres <martin.peres@free.fr>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 818a23e3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment