Merge tag 'asoc-fix-v5.13-rc7' of https://git.kernel.org/pub/scm/linux/kernel/git...
authorTakashi Iwai <tiwai@suse.de>
Thu, 24 Jun 2021 08:02:45 +0000 (10:02 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 24 Jun 2021 08:02:45 +0000 (10:02 +0200)
ASoC: Fixes for v5.13

A final batch of fixes for v5.13, this is larger than I'd like due to
the fixes for a series of suspend issues that Intel turned up in their
testing this week.

1  2 
MAINTAINERS
sound/isa/gus/gus_main.c
sound/isa/sb/sb16_main.c
sound/isa/sb/sb8.c
sound/soc/soc-core.c

diff --cc MAINTAINERS
Simple merge
Simple merge
Simple merge
@@@ -93,18 -93,20 +93,18 @@@ static int snd_sb8_probe(struct device 
        acard = card->private_data;
        card->private_free = snd_sb8_free;
  
-       /* block the 0x388 port to avoid PnP conflicts */
+       /*
+        * Block the 0x388 port to avoid PnP conflicts.
+        * No need to check this value after request_region,
+        * as we never do anything with it.
+        */
        acard->fm_res = request_region(0x388, 4, "SoundBlaster FM");
-       if (!acard->fm_res) {
-               err = -EBUSY;
-               goto _err;
-       }
  
        if (port[dev] != SNDRV_AUTO_PORT) {
 -              if ((err = snd_sbdsp_create(card, port[dev], irq[dev],
 -                                          snd_sb8_interrupt,
 -                                          dma8[dev],
 -                                          -1,
 -                                          SB_HW_AUTO,
 -                                          &chip)) < 0)
 +              err = snd_sbdsp_create(card, port[dev], irq[dev],
 +                                     snd_sb8_interrupt, dma8[dev],
 +                                     -1, SB_HW_AUTO, &chip);
 +              if (err < 0)
                        goto _err;
        } else {
                /* auto-probe legacy ports */
Simple merge