summaryrefslogtreecommitdiffstats
path: root/sound/hda/hdac_stream.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2024-02-21 11:06:07 +0100
committerTakashi Iwai <tiwai@suse.de>2024-02-21 11:14:16 +0100
commit5f91a62217730910ceb3e712dd0c28ee71423a27 (patch)
tree591bd0f266246ae093d73e8419afa001ff8573b8 /sound/hda/hdac_stream.c
parentALSA: hda: Set up BDL table at hw_params (diff)
downloadlinux-5f91a62217730910ceb3e712dd0c28ee71423a27.tar.xz
linux-5f91a62217730910ceb3e712dd0c28ee71423a27.zip
ALSA: hda: Downgrade BDL table overflow message
When BDL table entry overflow happens, the driver spews an error message explicitly. But basically this condition can be triggered easily by an application and it may flood of error logs unnecessarily. Downgrade the error message with dev_dbg() as a debug message instead. Link: https://lore.kernel.org/r/20240221100607.6565-2-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/hda/hdac_stream.c')
-rw-r--r--sound/hda/hdac_stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/hda/hdac_stream.c b/sound/hda/hdac_stream.c
index 610ea7a33cd8..b53de020309f 100644
--- a/sound/hda/hdac_stream.c
+++ b/sound/hda/hdac_stream.c
@@ -567,7 +567,7 @@ int snd_hdac_stream_setup_periods(struct hdac_stream *azx_dev)
return 0;
error:
- dev_err(bus->dev, "Too many BDL entries: buffer=%d, period=%d\n",
+ dev_dbg(bus->dev, "Too many BDL entries: buffer=%d, period=%d\n",
azx_dev->bufsize, period_bytes);
return -EINVAL;
}