ALSA: es1688: Avoid devres management for es1688 object creation
authorTakashi Iwai <tiwai@suse.de>
Thu, 5 Aug 2021 06:21:48 +0000 (08:21 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 5 Aug 2021 06:24:17 +0000 (08:24 +0200)
commitdf8bcf36be2755a39c2f1bcc1ea3c18329c29931
tree476fbb0746ec2470c78f28fb97e88bb7280784ff
parentddddc0d4c76aabd15eddbd905d4bf009f2f30725
ALSA: es1688: Avoid devres management for es1688 object creation

The recent refactoring of es1688 object creation with the use of
devres caused a problem with the non-PnP probe of GUS driver, as it
tries to probe multiple times with different parameters  That is, this
object needs the immediate resource release and the devres doesn't fit
for it.

This patch reverts partially the commit for restoring the classic
resource management for es1688 object.

Fixes: 1bb11c1c7f6e ("ALSA: es1688: Allocate resources with device-managed APIs")
Reported-by: kernel test robot <oliver.sang@intel.com>
Link: https://lore.kernel.org/r/20210805032513.GA30485@xsang-OptiPlex-9020
Link: https://lore.kernel.org/r/20210805062148.30951-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/es1688.h
sound/isa/es1688/es1688_lib.c