Linux Sound subsystem development
 help / color / mirror / Atom feed
* [PATCH 0/2] firmware: cs_dsp: Remove need for clients to supply dummy cs_dsp_client_ops
@ 2025-11-28 10:21 Richard Fitzgerald
  2025-11-28 10:21 ` [PATCH 1/2] firmware: cs_dsp: Don't require client to provide a struct cs_dsp_client_ops Richard Fitzgerald
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Richard Fitzgerald @ 2025-11-28 10:21 UTC (permalink / raw)
  To: broonie; +Cc: linux-sound, linux-kernel, patches

Clients of cs_dsp can provide optional callback function pointers, in
a struct cs_dsp_client_ops. The client had to provide a pointer to a
struct even if it didn't implement any of the callbacks.

Commit 1 in this series changes that so the client doesn't have to
provide a dummy struct.

Commit 2 adds kunit tests cases for this.

Richard Fitzgerald (2):
  firmware: cs_dsp: Don't require client to provide a struct
    cs_dsp_client_ops
  firmware: cs_dsp: Add test cases for client_ops == NULL

 drivers/firmware/cirrus/cs_dsp.c                     | 6 ++++++
 drivers/firmware/cirrus/test/cs_dsp_test_callbacks.c | 1 +
 2 files changed, 7 insertions(+)

-- 
2.47.3


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-11-29  1:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-28 10:21 [PATCH 0/2] firmware: cs_dsp: Remove need for clients to supply dummy cs_dsp_client_ops Richard Fitzgerald
2025-11-28 10:21 ` [PATCH 1/2] firmware: cs_dsp: Don't require client to provide a struct cs_dsp_client_ops Richard Fitzgerald
2025-11-28 10:21 ` [PATCH 2/2] firmware: cs_dsp: Add test cases for client_ops == NULL Richard Fitzgerald
2025-11-29  1:41 ` [PATCH 0/2] firmware: cs_dsp: Remove need for clients to supply dummy cs_dsp_client_ops Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox