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)
commitc5433f026b27cc100985189fac04969dfbf56dba
tree9eb1f345e19319110c77c552f4664c1d2737d6dd
parent9d2e19e349627e79bcd474bc64e71a312029b3be
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: 5b88da3c800f ("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