diff options
Diffstat (limited to 'sound/soc/qcom/sdw.h')
| -rw-r--r-- | sound/soc/qcom/sdw.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sound/soc/qcom/sdw.h b/sound/soc/qcom/sdw.h new file mode 100644 index 000000000000..061a63f1ac52 --- /dev/null +++ b/sound/soc/qcom/sdw.h @@ -0,0 +1,16 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +// Copyright (c) 2018, The Linux Foundation. All rights reserved. + +#ifndef __QCOM_SND_SDW_H__ +#define __QCOM_SND_SDW_H__ + +#include <linux/soundwire/sdw.h> + +int qcom_snd_sdw_startup(struct snd_pcm_substream *substream); +void qcom_snd_sdw_shutdown(struct snd_pcm_substream *substream); +int qcom_snd_sdw_prepare(struct snd_pcm_substream *substream, + bool *stream_prepared); +struct sdw_stream_runtime *qcom_snd_sdw_get_stream(struct snd_pcm_substream *stream); +int qcom_snd_sdw_hw_free(struct snd_pcm_substream *substream, + bool *stream_prepared); +#endif |
