iov_iter: Kill ITER_PIPE
[linux-block.git] / include / sound / hda_i915.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
98d8fc6c
ML
2/*
3 * HD-Audio helpers to sync with i915 driver
4 */
5#ifndef __SOUND_HDA_I915_H
6#define __SOUND_HDA_I915_H
7
a57942bf 8#include "hda_component.h"
45c053df 9
98d8fc6c 10#ifdef CONFIG_SND_HDA_I915
bb03ed21 11void snd_hdac_i915_set_bclk(struct hdac_bus *bus);
98d8fc6c 12int snd_hdac_i915_init(struct hdac_bus *bus);
98d8fc6c 13#else
bb03ed21 14static inline void snd_hdac_i915_set_bclk(struct hdac_bus *bus)
98d8fc6c 15{
98d8fc6c
ML
16}
17static inline int snd_hdac_i915_init(struct hdac_bus *bus)
18{
19 return -ENODEV;
20}
a57942bf 21#endif
98d8fc6c
ML
22static inline int snd_hdac_i915_exit(struct hdac_bus *bus)
23{
a57942bf 24 return snd_hdac_acomp_exit(bus);
98d8fc6c 25}
98d8fc6c
ML
26
27#endif /* __SOUND_HDA_I915_H */