ALSA: hda/intel: Drop superfluous AZX_DCAPS_I915_POWERWELL checks
authorTakashi Iwai <tiwai@suse.de>
Sun, 9 Dec 2018 08:57:37 +0000 (09:57 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 11 Dec 2018 07:12:52 +0000 (08:12 +0100)
commite454ff8e89b6db0a2054260d48635fbc781e94ce
tree04dfaf3e9d04d16412644579eff1da83f8f90cd6
parent029d92c289bdad08ed08e61bf31b17cdc9ee61cf
ALSA: hda/intel: Drop superfluous AZX_DCAPS_I915_POWERWELL checks

snd_hdac_display_power() can be called even for a HDA controller
without DRM binding.  The same is true for other helpers,
snd_hdac_i915_set_bclk() and snd_hdac_set_codec_wakeup().
So all superfluous AZX_DCAPS_I915_POWERWELL  checks in hda_intel.c can
be dropped, and the definition of AZX_DCAPS_I915_POWERWELL itself can
be removed as well.  This simplifies the code a lot.

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