Skip to content

Commit c841ad2

Browse files
David Henningssontiwai
authored andcommitted
ALSA: hda - Try to allow haswell HDMI audio even without powerwell
If compiled without CONFIG_SND_HDA_I915, the audio driver cannot request power well. However, if the power well is on for other reasons, maybe audio can still work. Therefore, do not skip the card completely if compiled without CONFIG_SND_HDA_I915. Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent cd5302c commit c841ad2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎sound/pci/hda/hda_intel.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3855,11 +3855,13 @@ static int azx_probe_continue(struct azx *chip)
38553855

38563856
/* Request power well for Haswell HDA controller and codec */
38573857
if (chip->driver_caps & AZX_DCAPS_I915_POWERWELL) {
3858+
#ifdef CONFIG_SND_HDA_I915
38583859
err = hda_i915_init();
38593860
if (err < 0) {
38603861
snd_printk(KERN_ERR SFX "Error request power-well from i915\n");
38613862
goto out_free;
38623863
}
3864+
#endif
38633865
hda_display_power(true);
38643866
}
38653867

0 commit comments

Comments
 (0)