mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-01 11:24:25 +08:00
e149ca29f3
Remove the ambiguity with GPL-2.0 and use an explicit GPL-2.0-only tag. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com> Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com> Link: https://lore.kernel.org/r/20200501145850.15178-1-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
33 lines
757 B
C
33 lines
757 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright(c) 2019 Intel Corporation.
|
|
*/
|
|
|
|
/*
|
|
* This file defines helper functions used by multiple
|
|
* Intel HDA based machine drivers.
|
|
*/
|
|
|
|
#ifndef __HDA_DSP_COMMON_H
|
|
#define __HDA_DSP_COMMON_H
|
|
|
|
#include <sound/hda_codec.h>
|
|
#include <sound/hda_i915.h>
|
|
#include "../../codecs/hdac_hda.h"
|
|
|
|
struct snd_pcm *hda_dsp_hdmi_pcm_handle(struct snd_soc_card *card,
|
|
int hdmi_idx);
|
|
|
|
#if IS_ENABLED(CONFIG_SND_SOC_SOF_HDA_AUDIO_CODEC)
|
|
int hda_dsp_hdmi_build_controls(struct snd_soc_card *card,
|
|
struct snd_soc_component *comp);
|
|
#else
|
|
static inline int hda_dsp_hdmi_build_controls(struct snd_soc_card *card,
|
|
struct snd_soc_component *comp)
|
|
{
|
|
return -EINVAL;
|
|
}
|
|
#endif
|
|
|
|
#endif /* __HDA_DSP_COMMON_H */
|