]> git.baikalelectronics.ru Git - kernel.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)
commit4b911b56285c662d02e5381324fd6f2c54454066
treeef351beb51791a623c424b6830dde5485ea4b34b
parent330019379de54216161ca5e46d36f4645ad30a65
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