1 | /* SPDX-License-Identifier: GPL-2.0 */ |
2 | /* |
3 | * Copyright(c) 2021-2022 Intel Corporation. All rights reserved. |
4 | * |
5 | * Author: Cezary Rojewski <cezary.rojewski@intel.com> |
6 | */ |
7 | |
8 | #ifndef SND_SOC_CODECS_HDA_H |
9 | #define SND_SOC_CODECS_HDA_H |
10 | |
11 | #define hda_codec_is_display(codec) \ |
12 | ((((codec)->core.vendor_id >> 16) & 0xFFFF) == 0x8086) |
13 | |
14 | extern const struct snd_soc_dai_ops snd_soc_hda_codec_dai_ops; |
15 | |
16 | extern const struct hdac_ext_bus_ops soc_hda_ext_bus_ops; |
17 | int hda_codec_probe_complete(struct hda_codec *codec); |
18 | |
19 | #endif |
20 | |