mirror of https://github.com/Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
669 B
29 lines
669 B
/* 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" |
|
|
|
#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 */
|
|
|