diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-10-12 17:28:18 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-21 09:32:43 -0700 |
commit | b393c7d4d577fa9f55fa7ba84d51bd30352b80da (patch) | |
tree | fae8bc09007a22744b29f4c76a12f313d563bb12 /net/lapb/lapb_in.c | |
parent | 758881acfecdc1e872506a6dc156c4dbb99b8f2a (diff) |
ALSA: hda - Fix registration race of VGA switcheroo
commit 128960a9ad67e2d119738f5211956e0304517551 upstream.
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>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions