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)
commita3b48c88f2d5a34c0e25aec0a3dab8069e5a9a72
tree0c530c465d128be84bd18c846587695596b2c320
parentb97bedcdedb4ae95b2128a4770dfc160e113b174
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