]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit47ab40ab951ded01d1322778d29e2340ff5a68f3
tree476fbb0746ec2470c78f28fb97e88bb7280784ff
parent1bea11638954484f6b608ef81d0fdc01fbab03b7
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: e93e0251c9e4 ("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