]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - minor optimization in hda_set_power_state()
authorTakashi Iwai <tiwai@suse.de>
Tue, 21 Apr 2009 11:37:29 +0000 (13:37 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 21 Apr 2009 11:38:30 +0000 (13:38 +0200)
commitd38377e5d365ad9bb1e0442d262fce6498aef9be
tree0c530c465d128be84bd18c846587695596b2c320
parentcc63ba6f78216c1f689b7275ef2b878bee7d88d9
ALSA: hda - minor optimization in hda_set_power_state()

Check the target power-state before checking EAPD exception to reduce
unneeded verb executions.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c