commit | 128960a9ad67e2d119738f5211956e0304517551 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Fri Oct 12 17:28:18 2012 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Mon Oct 15 09:55:48 2012 +0200 |
tree | 1b81778fa4184861fe85cb168511153d8808cbc5 | |
parent | e73fa21b4e6ce10934cc8016a9a512d7152a860b [diff] |
ALSA: hda - Fix registration race of VGA switcheroo Delay the registration of VGA switcheroo client to the end of the probing. Otherwise a too quick switching may result in Oops during probing. Also add the check of the return value from snd_hda_lock_devices(). Reported-and-tested-by: Daniel J Blueman <daniel@quora.org> Cc: <stable@vger.kernel.org> [v3.5+] Signed-off-by: Takashi Iwai <tiwai@suse.de>