ALSA: hda - Add reboot notifier to each codec
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / sound / pci / hda / hda_codec.h
index 99552fb5f75699d09461bebfbfd997e37c685f75..624060837653a5e919260f3f94a34494326cc21a 100644 (file)
@@ -674,6 +674,7 @@ struct hda_codec_ops {
 #ifdef CONFIG_SND_HDA_POWER_SAVE
        int (*check_power_status)(struct hda_codec *codec, hda_nid_t nid);
 #endif
+       void (*reboot_notify)(struct hda_codec *codec);
 };
 
 /* record for amp information cache */
@@ -910,6 +911,7 @@ int snd_hda_is_supported_format(struct hda_codec *codec, hda_nid_t nid,
  * Misc
  */
 void snd_hda_get_codec_name(struct hda_codec *codec, char *name, int namelen);
+void snd_hda_bus_reboot_notify(struct hda_bus *bus);
 
 /*
  * power management