ALSA: hda - Introduce hda_call_check_power_status() helper
authorTakashi Iwai <tiwai@suse.de>
Tue, 21 Sep 2010 07:57:06 +0000 (09:57 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 21 Sep 2010 08:00:03 +0000 (10:00 +0200)
commit9e5341b92d1d2dde11691b394721b45b36416bef
tree987a81df30cec229d2af12f87c4b572ded04095d
parent9396d3174b761685d6fefb1103e66b96a2e5db6d
ALSA: hda - Introduce hda_call_check_power_status() helper

Replace the explicit ifdef check and call of check_power_status ops with
a new helper function, hda_call_check_power_status().

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