Skip to content

firmware: cs_dsp: Remove need for clients to supply dummy cs_dsp_client_ops

Richard Fitzgerald linux-sound lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2firmware: cs_dsp: Don't require client to provide a struct cs_dsp_client_opsdrivers/firmware/cirrus/cs_dsp.c+6 -00 replies
2/2firmware: cs_dsp: Add test cases for client_ops == NULLdrivers/firmware/cirrus/test/cs_dsp_test_callbacks.c+1 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] firmware: cs_dsp: Remove need for clients to supply dummy cs_dsp_client_ops

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(+)
Signature · 1 line
2.47.3