]> git.karo-electronics.de Git - linux-beck.git/commit
ALSA: hda - allow a codec to define its own depop delay time
authorMengdong Lin <mengdong.lin@intel.com>
Fri, 29 Nov 2013 06:48:45 +0000 (01:48 -0500)
committerTakashi Iwai <tiwai@suse.de>
Fri, 29 Nov 2013 13:47:46 +0000 (14:47 +0100)
commit7f132927435cf09d26ceb81cd0043b542ac7206d
treeef351beb51791a623c424b6830dde5485ea4b34b
parentb5c6611fb4ef631cfb484a7cfe916154e52bc7d9
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>
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_codec.h