ALSA: echoaudio: Prevent some noise on unloading the module

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>
This commit is contained in:
Mark Hills 2020-07-08 11:18:47 +01:00 committed by Takashi Iwai
parent 6c33125448
commit f688a0dfe2

View 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;
}