]> Gentwo Git Trees - linux/.git/commit
firmware: cs_dsp: Append \n to debugfs string during read
authorRichard Fitzgerald <rf@opensource.cirrus.com>
Thu, 20 Nov 2025 13:06:40 +0000 (13:06 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 20 Nov 2025 13:12:18 +0000 (13:12 +0000)
commit3045e29d248bde2a68da425498a656093ee0df69
tree8e7efefe66eb941e0d12452c17b7b0dcff6143ba
parent78cfd833bc04c0398ca4cfc64704350aebe4d4c2
firmware: cs_dsp: Append \n to debugfs string during read

Append the terminating \n to the string during the debugfs file
read instead of creating a string that already has a trailing \n.

This avoids the ugly behaviour of having to include a trailing \n
in the filenames stored to wmfw_file_name and bin_file_name in
struct cs_dsp.

Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://patch.msgid.link/20251120130640.1169780-3-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/firmware/cirrus/cs_dsp.c