diff options
Diffstat (limited to 'include/sound/hda_i915.h')
-rw-r--r-- | include/sound/hda_i915.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/sound/hda_i915.h b/include/sound/hda_i915.h index 930b41e5acf4..fa341fcb5829 100644 --- a/include/sound/hda_i915.h +++ b/include/sound/hda_i915.h | |||
@@ -10,6 +10,9 @@ | |||
10 | int snd_hdac_set_codec_wakeup(struct hdac_bus *bus, bool enable); | 10 | int snd_hdac_set_codec_wakeup(struct hdac_bus *bus, bool enable); |
11 | int snd_hdac_display_power(struct hdac_bus *bus, bool enable); | 11 | int snd_hdac_display_power(struct hdac_bus *bus, bool enable); |
12 | int snd_hdac_get_display_clk(struct hdac_bus *bus); | 12 | int snd_hdac_get_display_clk(struct hdac_bus *bus); |
13 | int snd_hdac_sync_audio_rate(struct hdac_bus *bus, hda_nid_t nid, int rate); | ||
14 | int snd_hdac_acomp_get_eld(struct hdac_bus *bus, hda_nid_t nid, | ||
15 | bool *audio_enabled, char *buffer, int max_bytes); | ||
13 | int snd_hdac_i915_init(struct hdac_bus *bus); | 16 | int snd_hdac_i915_init(struct hdac_bus *bus); |
14 | int snd_hdac_i915_exit(struct hdac_bus *bus); | 17 | int snd_hdac_i915_exit(struct hdac_bus *bus); |
15 | int snd_hdac_i915_register_notifier(const struct i915_audio_component_audio_ops *); | 18 | int snd_hdac_i915_register_notifier(const struct i915_audio_component_audio_ops *); |
@@ -26,6 +29,17 @@ static inline int snd_hdac_get_display_clk(struct hdac_bus *bus) | |||
26 | { | 29 | { |
27 | return 0; | 30 | return 0; |
28 | } | 31 | } |
32 | static inline int snd_hdac_sync_audio_rate(struct hdac_bus *bus, hda_nid_t nid, | ||
33 | int rate) | ||
34 | { | ||
35 | return 0; | ||
36 | } | ||
37 | static inline int snd_hdac_acomp_get_eld(struct hdac_bus *bus, hda_nid_t nid, | ||
38 | bool *audio_enabled, char *buffer, | ||
39 | int max_bytes) | ||
40 | { | ||
41 | return -ENODEV; | ||
42 | } | ||
29 | static inline int snd_hdac_i915_init(struct hdac_bus *bus) | 43 | static inline int snd_hdac_i915_init(struct hdac_bus *bus) |
30 | { | 44 | { |
31 | return -ENODEV; | 45 | return -ENODEV; |