From: Takashi Iwai Date: Fri, 12 Oct 2012 15:28:18 +0000 (+0200) Subject: ALSA: hda - Fix registration race of VGA switcheroo X-Git-Tag: v3.7-rc2~30^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=128960a9ad67e2d119738f5211956e0304517551;p=pandora-kernel.git 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 Cc: [v3.5+] Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed