]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - sound/pci/hda/hda_intel.c
ALSA: hda - Revert DSP detection on legacy HD-audio driver
[linux.git] / sound / pci / hda / hda_intel.c
index 5399d0180434f220cfce127fd59e76eedf851600..e784130ea4e0eb2d7fec5357fb86872fb44292fc 100644 (file)
@@ -2216,12 +2216,7 @@ static int azx_probe_continue(struct azx *chip)
         * this power. For other platforms, like Baytrail/Braswell, only the
         * display codec needs the power and it can be released after probe.
         */
-       err = display_power(chip, true);
-       if (err < 0) {
-               dev_err(chip->card->dev,
-                       "Cannot turn on display power on i915\n");
-               goto i915_power_fail;
-       }
+       display_power(chip, true);
 
        err = azx_first_init(chip);
        if (err < 0)
@@ -2271,8 +2266,6 @@ static int azx_probe_continue(struct azx *chip)
 out_free:
        if (err < 0 || !hda->need_i915_power)
                display_power(chip, false);
-
-i915_power_fail:
        if (err < 0)
                hda->init_failed = 1;
        complete_all(&hda->probe_wait);