diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-07-26 04:19:20 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-07-26 11:21:23 -0400 |
commit | e581f3dba509f6d48e4939aa70e9b768aa5fd4f3 (patch) | |
tree | 90600a19dbefda57a6e60d1333aa8c5ae62250b8 /sound/pci/hda/hda_codec.h | |
parent | 2a43952a99072f43c92355882b7965c8762ae3f3 (diff) |
ALSA: hda - Add post_suspend patch ops
Add a new ops, post_suspend(), which is called after suspend() ops is
performed. This is called only in the case of the real PM suspend, and
the codec driver can use this for further changing of D-state or
clearing the LED, etc.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_codec.h')
-rw-r--r-- | sound/pci/hda/hda_codec.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h index 663aa4fc384a..c7ca753d94ee 100644 --- a/sound/pci/hda/hda_codec.h +++ b/sound/pci/hda/hda_codec.h | |||
@@ -702,6 +702,7 @@ struct hda_codec_ops { | |||
702 | void (*unsol_event)(struct hda_codec *codec, unsigned int res); | 702 | void (*unsol_event)(struct hda_codec *codec, unsigned int res); |
703 | #ifdef CONFIG_PM | 703 | #ifdef CONFIG_PM |
704 | int (*suspend)(struct hda_codec *codec, pm_message_t state); | 704 | int (*suspend)(struct hda_codec *codec, pm_message_t state); |
705 | int (*post_suspend)(struct hda_codec *codec); | ||
705 | int (*pre_resume)(struct hda_codec *codec); | 706 | int (*pre_resume)(struct hda_codec *codec); |
706 | int (*resume)(struct hda_codec *codec); | 707 | int (*resume)(struct hda_codec *codec); |
707 | #endif | 708 | #endif |