diff options
author | Mengdong Lin <mengdong.lin@intel.com> | 2013-11-29 06:48:45 (GMT) |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-11-29 13:47:46 (GMT) |
commit | 7f132927435cf09d26ceb81cd0043b542ac7206d (patch) | |
tree | ef351beb51791a623c424b6830dde5485ea4b34b /sound/pci/hda/hda_codec.h | |
parent | b5c6611fb4ef631cfb484a7cfe916154e52bc7d9 (diff) | |
download | linux-7f132927435cf09d26ceb81cd0043b542ac7206d.tar.xz |
ALSA: hda - allow a codec to define its own depop delay time
This patch adds 'depop_delay' to struct hda_codec, to indicate a depop delay
time in ms when power-down, in function set_power_state() to D3.
Default value is -1, for a default delay time.
Machine fixup can set a suitable value according to the codec chip and HW audio
design.
Signed-off-by: Mengdong Lin <mengdong.lin@intel.com>
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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h index 01b248d..3ab4834 100644 --- a/sound/pci/hda/hda_codec.h +++ b/sound/pci/hda/hda_codec.h @@ -944,6 +944,8 @@ struct hda_codec { struct snd_array jacks; #endif + int depop_delay; /* depop delay in ms, -1 for default delay time */ + /* fix-up list */ int fixup_id; const struct hda_fixup *fixup_list; |