RDMA/rtrs: server: Fix some error return code
[linux/fpc-iii.git] / include / sound / intel-dsp-config.h
blobc36622bee3f897ff3402531b073d8fb693430732
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * intel-dsp-config.h - Intel DSP config
5 * Copyright (c) 2019 Jaroslav Kysela <perex@perex.cz>
6 */
8 #ifndef __INTEL_DSP_CONFIG_H__
9 #define __INTEL_DSP_CONFIG_H__
11 struct pci_dev;
13 enum {
14 SND_INTEL_DSP_DRIVER_ANY = 0,
15 SND_INTEL_DSP_DRIVER_LEGACY,
16 SND_INTEL_DSP_DRIVER_SST,
17 SND_INTEL_DSP_DRIVER_SOF,
18 SND_INTEL_DSP_DRIVER_LAST = SND_INTEL_DSP_DRIVER_SOF
21 #if IS_ENABLED(CONFIG_SND_INTEL_DSP_CONFIG)
23 int snd_intel_dsp_driver_probe(struct pci_dev *pci);
25 #else
27 static inline int snd_intel_dsp_driver_probe(struct pci_dev *pci)
29 return SND_INTEL_DSP_DRIVER_ANY;
32 #endif
34 #endif