Home
last modified time | relevance | path

Searched hist:"4 d7fbdbcb1d563b1822c74da3c9e4aa4523d8d6d" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/sound/pci/hda/
H A Dpatch_conexant.cdiff 4d7fbdbcb1d563b1822c74da3c9e4aa4523d8d6d Tue Jul 26 03:33:10 CDT 2011 Takashi Iwai <tiwai@suse.de> ALSA: hda - Allow codec-specific set_power_state ops

The procedure for codec D-state change may have exceptional cases
depending on the codec chip, such as a longer delay or suppressing D3.

This patch adds a new codec ops, set_power_state() to override the system
default function. For ease of porting, snd_hda_codec_set_power_to_all()
helper function is extracted from the default set_power_state() function.

As an example, the Conexant codec-specific delay is removed from the
default routine but moved to patch_conexant.c.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
H A Dhda_codec.cdiff 4d7fbdbcb1d563b1822c74da3c9e4aa4523d8d6d Tue Jul 26 03:33:10 CDT 2011 Takashi Iwai <tiwai@suse.de> ALSA: hda - Allow codec-specific set_power_state ops

The procedure for codec D-state change may have exceptional cases
depending on the codec chip, such as a longer delay or suppressing D3.

This patch adds a new codec ops, set_power_state() to override the system
default function. For ease of porting, snd_hda_codec_set_power_to_all()
helper function is extracted from the default set_power_state() function.

As an example, the Conexant codec-specific delay is removed from the
default routine but moved to patch_conexant.c.

Signed-off-by: Takashi Iwai <tiwai@suse.de>