diff options
author | Rohit kumar <rohitkr@codeaurora.org> | 2018-08-01 12:01:08 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-08-01 14:00:21 +0300 |
commit | c25e295cd77b37903ddc9ee27384e17aad08f27c (patch) | |
tree | 493a58b8725c8eac47de4b9d82a43fd877a82065 /sound/soc/qcom/common.h | |
parent | 0c901e8cea15ba1e318d8f4342f7dc27a80b5978 (diff) | |
download | linux-c25e295cd77b37903ddc9ee27384e17aad08f27c.tar.xz |
ASoC: qcom: Add support to parse common audio device nodes
This adds support to parse cpu, platform and codec
device nodes and add them in dai-links. Also, update
apq8096 machine driver to use the common API.
Acked-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Rohit kumar <rohitkr@codeaurora.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/qcom/common.h')
-rw-r--r-- | sound/soc/qcom/common.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sound/soc/qcom/common.h b/sound/soc/qcom/common.h new file mode 100644 index 000000000000..ad5d2cf27459 --- /dev/null +++ b/sound/soc/qcom/common.h @@ -0,0 +1,12 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +// Copyright (c) 2018, The Linux Foundation. All rights reserved. + +#ifndef __QCOM_SND_COMMON_H__ +#define __QCOM_SND_COMMON_H__ + +#include <linux/component.h> +#include <sound/soc.h> + +int qcom_snd_parse_of(struct snd_soc_card *card); + +#endif |