public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Richard Fitzgerald <rf@opensource.cirrus.com>
To: broonie@kernel.org
Cc: linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org,
	patches@opensource.cirrus.com
Subject: [PATCH 0/2] firmware: cs_dsp: Cleanup debugfs for wmfw and bin file name
Date: Thu, 20 Nov 2025 13:06:38 +0000	[thread overview]
Message-ID: <20251120130640.1169780-1-rf@opensource.cirrus.com> (raw)

These two patches improve the implementation of the debugfs files for
the wmfw and bin file names. First patch removes duplicated code. Second
patch replaces the old clunkiness of storing the filename with an appended
\n. The \n can be appended when the file is read, to keep the stored string
sane.

Richard Fitzgerald (2):
  firmware: cs_dsp: Factor out common debugfs string read
  firmware: cs_dsp: Append \n to debugfs string during read

 drivers/firmware/cirrus/cs_dsp.c       | 56 ++++++++++++--------------
 include/linux/firmware/cirrus/cs_dsp.h |  4 +-
 2 files changed, 28 insertions(+), 32 deletions(-)

-- 
2.47.3


             reply	other threads:[~2025-11-20 13:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-20 13:06 Richard Fitzgerald [this message]
2025-11-20 13:06 ` [PATCH 1/2] firmware: cs_dsp: Factor out common debugfs string read Richard Fitzgerald
2025-11-20 13:06 ` [PATCH 2/2] firmware: cs_dsp: Append \n to debugfs string during read Richard Fitzgerald
2025-11-21 14:14 ` [PATCH 0/2] firmware: cs_dsp: Cleanup debugfs for wmfw and bin file name Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251120130640.1169780-1-rf@opensource.cirrus.com \
    --to=rf@opensource.cirrus.com \
    --cc=broonie@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=patches@opensource.cirrus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox