mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-02-12 09:56:47 -05:00
Merge tag 'sound-4.20-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
Pull sound fixes from Takashi Iwai: "Two small regression fixes for HD-audio: one about vga_switcheroo and runtime PM, and another about Oops on some Thinkpads" * tag 'sound-4.20-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound: ALSA: hda - Fix incorrect clearance of thinkpad_acpi hooks vga_switcheroo: Fix missing gpu_bound call at audio client registration
This commit is contained in:
@@ -380,6 +380,9 @@ int vga_switcheroo_register_audio_client(struct pci_dev *pdev,
|
||||
mutex_unlock(&vgasr_mutex);
|
||||
return -EINVAL;
|
||||
}
|
||||
/* notify if GPU has been already bound */
|
||||
if (ops->gpu_bound)
|
||||
ops->gpu_bound(pdev, id);
|
||||
}
|
||||
mutex_unlock(&vgasr_mutex);
|
||||
|
||||
|
||||
@@ -58,8 +58,8 @@ static void hda_fixup_thinkpad_acpi(struct hda_codec *codec,
|
||||
removefunc = false;
|
||||
}
|
||||
if (led_set_func(TPACPI_LED_MICMUTE, false) >= 0 &&
|
||||
snd_hda_gen_add_micmute_led(codec,
|
||||
update_tpacpi_micmute) > 0)
|
||||
!snd_hda_gen_add_micmute_led(codec,
|
||||
update_tpacpi_micmute))
|
||||
removefunc = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user