Linux Sound subsystem development
 help / color / mirror / Atom feed
* [PATCH v3 0/3] Improve SDCA support for duplicated features
@ 2026-04-30 15:09 Charles Keepax
  2026-04-30 15:09 ` [PATCH v3 1/3] ASoC: SDCA: Add correct masks whilst reporting SDCA jack status Charles Keepax
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Charles Keepax @ 2026-04-30 15:09 UTC (permalink / raw)
  To: broonie
  Cc: lgirdwood, yung-chuan.liao, pierre-louis.bossart, peter.ujfalusi,
	niranjan.hy, kevin-lu, baojun.xu, linux-sound, linux-kernel,
	patches

There are some short comings of the current SDCA class driver with
respect to duplicated functions and jacks. Fix some issues in the
reporting of jacks when there are multiple jacks represented in the SDCA
topology. When a single device contains multiple instances of the same
type of SDCA function the current class driver will create duplicate
controls, update the code to fix this. Finally whilst working through
this also tidy up the handling of the sdca_function_desc pointers as it
turns out some duplication has crept into the code on that front.

Thanks,
Charles

Changes since v2:
 - Add missing set of desc pointer in tas2783 from v1
 - Minor reordering in sdca_jack_set_jack

Changes since v1:
 - Update tas2783 for API changes
 - Correct kernel doc

Charles Keepax (3):
  ASoC: SDCA: Add correct masks whilst reporting SDCA jack status
  ASoC: SDCA: Remove sdca_function_data duplication
  ASoC: SDCA: Support devices with multiple functions of identical type

 include/sound/sdca.h                 |  4 ++
 include/sound/sdca_function.h        |  1 -
 include/sound/sdca_jack.h            |  3 ++
 sound/soc/codecs/tas2783-sdw.c       |  6 +--
 sound/soc/sdca/sdca_class.c          |  7 ---
 sound/soc/sdca/sdca_class.h          |  1 -
 sound/soc/sdca/sdca_class_function.c | 23 ++-------
 sound/soc/sdca/sdca_functions.c      | 51 ++++++++++++-------
 sound/soc/sdca/sdca_interrupts.c     |  3 +-
 sound/soc/sdca/sdca_jack.c           | 75 ++++++++++++++++------------
 10 files changed, 94 insertions(+), 80 deletions(-)

-- 
2.47.3


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

end of thread, other threads:[~2026-05-05  1:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-30 15:09 [PATCH v3 0/3] Improve SDCA support for duplicated features Charles Keepax
2026-04-30 15:09 ` [PATCH v3 1/3] ASoC: SDCA: Add correct masks whilst reporting SDCA jack status Charles Keepax
2026-04-30 15:09 ` [PATCH v3 2/3] ASoC: SDCA: Remove sdca_function_data duplication Charles Keepax
2026-04-30 15:09 ` [PATCH v3 3/3] ASoC: SDCA: Support devices with multiple functions of identical type Charles Keepax
2026-05-04 13:24 ` [PATCH v3 0/3] Improve SDCA support for duplicated features Mark Brown

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