diff options
author | Vijendar Mukunda <Vijendar.Mukunda@amd.com> | 2024-01-29 11:21:38 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-01-30 16:06:35 +0000 |
commit | aff9d088a306541117e420d96ed6b6f1215a7e2d (patch) | |
tree | 82a5fc88b76bafb90c54e8dd89344a937be99715 /include/linux/soundwire | |
parent | ed5e8741b8db908d51a26e368c18573ee1b9e208 (diff) | |
download | linux-stable-aff9d088a306541117e420d96ed6b6f1215a7e2d.tar.gz linux-stable-aff9d088a306541117e420d96ed6b6f1215a7e2d.tar.bz2 linux-stable-aff9d088a306541117e420d96ed6b6f1215a7e2d.zip |
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>
Diffstat (limited to 'include/linux/soundwire')
-rw-r--r-- | include/linux/soundwire/sdw_amd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/soundwire/sdw_amd.h b/include/linux/soundwire/sdw_amd.h index 54735fa49759..9103772c2497 100644 --- a/include/linux/soundwire/sdw_amd.h +++ b/include/linux/soundwire/sdw_amd.h @@ -170,5 +170,7 @@ int sdw_amd_probe(struct sdw_amd_res *res, struct sdw_amd_ctx **ctx); void sdw_amd_exit(struct sdw_amd_ctx *ctx); +int sdw_amd_get_slave_info(struct sdw_amd_ctx *ctx); + int amd_sdw_scan_controller(struct sdw_amd_acpi_info *info); #endif |