powerpc/powernv: Enable LEDS support
[linux/fpc-iii.git] / include / sound / hda_i915.h
blobadb5ba5cbd9d02622b49369d26036952fa9d7255
1 /*
2 * HD-Audio helpers to sync with i915 driver
3 */
4 #ifndef __SOUND_HDA_I915_H
5 #define __SOUND_HDA_I915_H
7 #ifdef CONFIG_SND_HDA_I915
8 int snd_hdac_set_codec_wakeup(struct hdac_bus *bus, bool enable);
9 int snd_hdac_display_power(struct hdac_bus *bus, bool enable);
10 int snd_hdac_get_display_clk(struct hdac_bus *bus);
11 int snd_hdac_i915_init(struct hdac_bus *bus);
12 int snd_hdac_i915_exit(struct hdac_bus *bus);
13 #else
14 static int snd_hdac_set_codec_wakeup(struct hdac_bus *bus, bool enable)
16 return 0;
18 static inline int snd_hdac_display_power(struct hdac_bus *bus, bool enable)
20 return 0;
22 static inline int snd_hdac_get_display_clk(struct hdac_bus *bus)
24 return 0;
26 static inline int snd_hdac_i915_init(struct hdac_bus *bus)
28 return -ENODEV;
30 static inline int snd_hdac_i915_exit(struct hdac_bus *bus)
32 return 0;
34 #endif
36 #endif /* __SOUND_HDA_I915_H */