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>
This commit is contained in:
Rohit kumar
2018-08-01 14:31:08 +05:30
committed by Mark Brown
parent 0c901e8cea
commit c25e295cd7
4 changed files with 136 additions and 101 deletions

12
sound/soc/qcom/common.h Normal file
View File

@@ -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