soundwire: amd: implement function to extract slave information
authorVijendar Mukunda <Vijendar.Mukunda@amd.com>
Mon, 29 Jan 2024 05:51:38 +0000 (11:21 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 30 Jan 2024 16:06:35 +0000 (16:06 +0000)
commitaff9d088a306541117e420d96ed6b6f1215a7e2d
tree82a5fc88b76bafb90c54e8dd89344a937be99715
parented5e8741b8db908d51a26e368c18573ee1b9e208
soundwire: amd: implement function to extract slave information

Implement function to extract slaves information connected on the bus.
This information is required during machine select logic.
This function will be called from machine select logic code.

Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Acked-by: Vinod Koul <vkoul@kernel.org>
Link: https://msgid.link/r/20240129055147.1493853-5-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/soundwire/amd_init.c
include/linux/soundwire/sdw_amd.h