diff options
Diffstat (limited to 'sound/pci/hda/hda_codec.h')
-rw-r--r-- | sound/pci/hda/hda_codec.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h index cc73287341de..fbedcf3c9d0b 100644 --- a/sound/pci/hda/hda_codec.h +++ b/sound/pci/hda/hda_codec.h | |||
@@ -886,6 +886,10 @@ struct hda_codec { | |||
886 | spinlock_t power_lock; | 886 | spinlock_t power_lock; |
887 | #endif | 887 | #endif |
888 | 888 | ||
889 | /* filter the requested power state per nid */ | ||
890 | unsigned int (*power_filter)(struct hda_codec *codec, hda_nid_t nid, | ||
891 | unsigned int power_state); | ||
892 | |||
889 | /* codec-specific additional proc output */ | 893 | /* codec-specific additional proc output */ |
890 | void (*proc_widget_hook)(struct snd_info_buffer *buffer, | 894 | void (*proc_widget_hook)(struct snd_info_buffer *buffer, |
891 | struct hda_codec *codec, hda_nid_t nid); | 895 | struct hda_codec *codec, hda_nid_t nid); |
@@ -1047,8 +1051,7 @@ extern const struct snd_pcm_chmap_elem snd_pcm_2_1_chmaps[]; | |||
1047 | void snd_hda_get_codec_name(struct hda_codec *codec, char *name, int namelen); | 1051 | void snd_hda_get_codec_name(struct hda_codec *codec, char *name, int namelen); |
1048 | void snd_hda_bus_reboot_notify(struct hda_bus *bus); | 1052 | void snd_hda_bus_reboot_notify(struct hda_bus *bus); |
1049 | void snd_hda_codec_set_power_to_all(struct hda_codec *codec, hda_nid_t fg, | 1053 | void snd_hda_codec_set_power_to_all(struct hda_codec *codec, hda_nid_t fg, |
1050 | unsigned int power_state, | 1054 | unsigned int power_state); |
1051 | bool eapd_workaround); | ||
1052 | 1055 | ||
1053 | int snd_hda_lock_devices(struct hda_bus *bus); | 1056 | int snd_hda_lock_devices(struct hda_bus *bus); |
1054 | void snd_hda_unlock_devices(struct hda_bus *bus); | 1057 | void snd_hda_unlock_devices(struct hda_bus *bus); |