Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v6.19 30 lines 912 B view raw
1/* SPDX-License-Identifier: GPL-2.0 2 * 3 * Copyright (c) 2022-2025 Qualcomm Innovation Center, Inc. All rights reserved. 4 */ 5#ifndef __QCOM_SND_USB_OFFLOAD_UTILS_H__ 6#define __QCOM_SND_USB_OFFLOAD_UTILS_H__ 7 8#include <sound/soc.h> 9 10#if IS_ENABLED(CONFIG_SND_SOC_QCOM_OFFLOAD_UTILS) 11int qcom_snd_usb_offload_jack_setup(struct snd_soc_pcm_runtime *rtd, 12 struct snd_soc_jack *jack, bool *jack_setup); 13 14int qcom_snd_usb_offload_jack_remove(struct snd_soc_pcm_runtime *rtd, 15 bool *jack_setup); 16#else 17static inline int qcom_snd_usb_offload_jack_setup(struct snd_soc_pcm_runtime *rtd, 18 struct snd_soc_jack *jack, 19 bool *jack_setup) 20{ 21 return -ENODEV; 22} 23 24static inline int qcom_snd_usb_offload_jack_remove(struct snd_soc_pcm_runtime *rtd, 25 bool *jack_setup) 26{ 27 return -ENODEV; 28} 29#endif /* IS_ENABLED(CONFIG_SND_SOC_QCOM_OFFLOAD_UTILS) */ 30#endif /* __QCOM_SND_USB_OFFLOAD_UTILS_H__ */