aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLucas De Marchi <[email protected]>2022-04-15 23:44:18 -0700
committerTakashi Iwai <[email protected]>2022-04-19 08:59:14 +0200
commit00fd7cfad0548b6b7234c93370076f9b9c2e39f8 (patch)
treeffb128d6f02143147eaf94581556eaab562a8a6c /lib
parent6624fb41f5126c7205e866e58d4aaae0453f0914 (diff)
ALSA: hda/i915: Fix one too many pci_dev_put()
pci_get_class() will already unref the pci device passed as argument. So if it's unconditionally unref'ed, even if the loop is not stopped, there will be one too many unref for each device not matched. Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/5701 Fixes: c9db8a30d9f0 ("ALSA: hda/i915 - skip acomp init if no matching display") Signed-off-by: Lucas De Marchi <[email protected]> Reviewed-by: Kai Vehmanen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions