ALSA: echoaudio: Prevent some noise on unloading the module
authorMark Hills <mark@xwax.org>
Wed, 8 Jul 2020 10:18:47 +0000 (11:18 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 9 Jul 2020 10:59:07 +0000 (12:59 +0200)
These are valid conditions in normal circumstances, so do not "warn" but
make them for debugging.

Signed-off-by: Mark Hills <mark@xwax.org>
Link: https://lore.kernel.org/r/20200708101848.3457-4-mark@xwax.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/echoaudio/echoaudio_dsp.c

index f02f5b1..d10d0e4 100644 (file)
@@ -898,7 +898,7 @@ static int pause_transport(struct echoaudio *chip, u32 channel_mask)
                return 0;
        }
 
-       dev_warn(chip->card->dev, "pause_transport: No pipes to stop!\n");
+       dev_dbg(chip->card->dev, "pause_transport: No pipes to stop!\n");
        return 0;
 }
 
@@ -924,7 +924,7 @@ static int stop_transport(struct echoaudio *chip, u32 channel_mask)
                return 0;
        }
 
-       dev_warn(chip->card->dev, "stop_transport: No pipes to stop!\n");
+       dev_dbg(chip->card->dev, "stop_transport: No pipes to stop!\n");
        return 0;
 }