]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: test-component: add set_tdm_slot stub implementation
authorNicolas Frattaroli <nicolas.frattaroli@collabora.com>
Thu, 10 Apr 2025 19:25:32 +0000 (21:25 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 11 Apr 2025 12:01:26 +0000 (13:01 +0100)
commite78e7856d233010e6afef62f15567a8e7777c8bc
treeae554dacefdde221904f571158e52bff8c823f8c
parentb5d057a86e2086af0b1e6d0ca8b306be1c73a627
ASoC: test-component: add set_tdm_slot stub implementation

The test-component driver implements various stub callbacks. One
of the ones it doesn't implement is set_tdm_slot. This has no
functional impact on whether ASoC core believes test-component to
do TDM or not, it just means that any TDM configuration can't
readily be dumped for debugging purposes like it can with the other
callbacks.

Add a stub implementation to allow for this. The output uses dev_info
rather than dev_dbg, to be in line with the set_fmt stub implementation
above.

Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli@collabora.com>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://patch.msgid.link/20250410-test-component-tdm-slot-v1-1-9c3a7162fa7a@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/generic/test-component.c