]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: gus: Fix repeated probe for ISA interwave card
authorTakashi Iwai <tiwai@suse.de>
Tue, 7 Sep 2021 09:39:30 +0000 (11:39 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 7 Sep 2021 09:40:08 +0000 (11:40 +0200)
commit40b13a14672b68932fa529fb9e71fc2887e67c71
tree9eb1f345e19319110c77c552f4664c1d2737d6dd
parentb692f646c77cbb5fa378d7df69f3b950ec5210c6
ALSA: gus: Fix repeated probe for ISA interwave card

The legacy ISA probe tries to probe the card repeatedly, and this
would conflict with the refactoring using devres.  Put the card
creation out of the loop and only probe GUS object repeatedly.

Fixes: 7d0ed3b78b76 ("ALSA: gus: Allocate resources with device-managed APIs")
Link: https://lore.kernel.org/r/20210907093930.29009-2-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/gus/interwave.c