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:
12
sound/soc/qcom/common.h
Normal file
12
sound/soc/qcom/common.h
Normal 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
|
||||
Reference in New Issue
Block a user