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)
commit7b0a48f3402a43bd8bb85bfda4f72e0a34634d74
tree034c0baa1ba1adbffeafcec9b02b003a2f01dae9
parent4f8e940095536bc002a81666a4107a581c84e9b9
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