]> 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)
commit88ce0f4f572ecca15a62cb7dbc7f0877186ed576
tree034c0baa1ba1adbffeafcec9b02b003a2f01dae9
parenteed07180c69c1b6bf8d4e7ed9b853e0ebc8b9d79
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