mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 12:52:30 +00:00
ed5e8741b8
Refactor amd SoundWire manager device node creation logic and implement generic functions to have a common functionality for SoundWire manager platform device creation, start and exit sequence for both legacy(NO DSP) and SOF stack for AMD platforms. These functions will be invoked from legacy and SOF stack. Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com> Acked-by: Vinod Koul <vkoul@kernel.org> Link: https://msgid.link/r/20240129055147.1493853-4-Vijendar.Mukunda@amd.com Signed-off-by: Mark Brown <broonie@kernel.org>
14 lines
290 B
C
14 lines
290 B
C
/* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
|
|
/*
|
|
* Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved.
|
|
*/
|
|
|
|
#ifndef __AMD_INIT_H
|
|
#define __AMD_INIT_H
|
|
|
|
#include <linux/soundwire/sdw_amd.h>
|
|
|
|
int amd_sdw_manager_start(struct amd_sdw_manager *amd_manager);
|
|
|
|
#endif
|