mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-02-10 21:35:08 +00:00
Merge branch 'topic/hda' into for-next
This commit is contained in:
commit
71f881ce57
@ -1907,8 +1907,6 @@ static int azx_probe_continue(struct azx *chip)
|
|||||||
if (pci->device != 0x0f04 && pci->device != 0x2284)
|
if (pci->device != 0x0f04 && pci->device != 0x2284)
|
||||||
hda->need_i915_power = 1;
|
hda->need_i915_power = 1;
|
||||||
|
|
||||||
|
|
||||||
#ifdef CONFIG_SND_HDA_I915
|
|
||||||
err = hda_i915_init(hda);
|
err = hda_i915_init(hda);
|
||||||
if (err < 0)
|
if (err < 0)
|
||||||
goto i915_power_fail;
|
goto i915_power_fail;
|
||||||
@ -1919,7 +1917,6 @@ static int azx_probe_continue(struct azx *chip)
|
|||||||
"Cannot turn on display power on i915\n");
|
"Cannot turn on display power on i915\n");
|
||||||
goto i915_power_fail;
|
goto i915_power_fail;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
err = azx_first_init(chip);
|
err = azx_first_init(chip);
|
||||||
|
@ -63,7 +63,7 @@ static inline int hda_display_power(struct hda_intel *hda, bool enable)
|
|||||||
static inline void haswell_set_bclk(struct hda_intel *hda) { return; }
|
static inline void haswell_set_bclk(struct hda_intel *hda) { return; }
|
||||||
static inline int hda_i915_init(struct hda_intel *hda)
|
static inline int hda_i915_init(struct hda_intel *hda)
|
||||||
{
|
{
|
||||||
return -ENODEV;
|
return 0;
|
||||||
}
|
}
|
||||||
static inline int hda_i915_exit(struct hda_intel *hda)
|
static inline int hda_i915_exit(struct hda_intel *hda)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user