]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Use runtime helper to check active state.
authorDylan Reid <dgreid@chromium.org>
Tue, 8 Apr 2014 19:06:18 +0000 (12:06 -0700)
committerTakashi Iwai <tiwai@suse.de>
Wed, 9 Apr 2014 07:33:03 +0000 (09:33 +0200)
commit1be7c2f192be607831683de9e06bdacb25f30730
tree034c0baa1ba1adbffeafcec9b02b003a2f01dae9
parenta647eeecab656a624a7e18a228463c6102ab3ae3
ALSA: hda - Use runtime helper to check active state.

From azx_interrupt, use the helper to check if the device is active
instead of checking the state.  This will do the right thing if
runtime pm is disabled in addition to if the device is suspended.

Signed-off-by: Dylan Reid <dgreid@chromium.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_controller.c