vga_switcheroo: Enable/disable audio clients at the right time
authorTakashi Iwai <tiwai@suse.de>
Sat, 9 Jun 2012 06:46:42 +0000 (08:46 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sat, 9 Jun 2012 10:14:43 +0000 (12:14 +0200)
The audio clients have to be disabled before disabling the VGA and
switching.  Similarly, enabling the audio client should be done at
last.  Otherwise the audio-side operation stalls, eventually leading
to Oops or lockups.

Tested-by: Jörg-Volker Peetz <jvpeetz@web.de>
Acked-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found