firmware: cirrus: cs_dsp: Only log list of algorithms in debug build
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Wed, 13 Sep 2023 16:05:23 +0000 (17:05 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 13 Sep 2023 17:50:32 +0000 (18:50 +0100)
commit69343ce91435f222052015c5af86b550391bac85
treee5cfdee4ff069bf61325c0ea12e360c8d9a0fc5b
parentcf0ba445f5e4dd74c1e9d7a83ca721ba69204a11
firmware: cirrus: cs_dsp: Only log list of algorithms in debug build

Change the logging of each algorithm from info level to debug level.

On the original devices supported by this code there were typically only
one or two algorithms in a firmware and one or two DSPs so this logging
only used a small number of log lines.

However, for the latest devices there could be 30-40 algorithms in a
firmware and 8 DSPs being loaded in parallel, so using 300+ lines of log
for information that isn't particularly important to have logged.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20230913160523.3701189-1-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/firmware/cirrus/cs_dsp.c