]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Add power state filtering
authorTakashi Iwai <tiwai@suse.de>
Thu, 24 Jan 2013 16:23:35 +0000 (17:23 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 24 Jan 2013 16:23:35 +0000 (17:23 +0100)
commit55c719f2372d9f7b1bbf79eb63727ec3e43a4fd9
treef9c7a7ddaec6208153716ae798e4374ae49f06a0
parent7a9b4945658de9aabd6534290d21f4da12ff09fe
ALSA: hda - Add power state filtering

Add a hook to struct hda_codec for filtering the target power state of
each widget when powering up/down.  The current hackish EAPD check is
implemented as the default hook pointer, too.

This allows codec drivers to implement own power filter.  In the
upcoming changes, the generic parser will have the better power filter
based on the active paths.

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